org.openprovenance.elmo
Class GraphComparator

java.lang.Object
  extended by org.openprovenance.elmo.GraphComparator

public class GraphComparator
extends Object


Constructor Summary
GraphComparator()
           
 
Method Summary
 void compareAssert(org.openprovenance.model.OPMGraph graph1, org.openprovenance.model.OPMGraph graph2)
           
 void testCompareGraphCopies(org.openprovenance.elmo.RdfOPMFactory oFactory, String graphFile1, String graphFile2, String normalisedGraphFile1, String normalisedGraphFile2)
          Reads xml file graphFile1, creates an rdf graph (saved in graphFile2) compares the two graphs.
 void testCompareGraphs(org.openprovenance.model.OPMGraph graph1, org.openprovenance.model.OPMGraph graph2, String normalisedFile1, String normalisedFile2)
           
 void testCompareGraphs(String graphFile1, String graphFile2, String NS, org.openrdf.rio.RDFFormat format, org.openprovenance.elmo.RepositoryHelper rHelper, org.openrdf.elmo.ElmoManager manager, String normalisedFile1, String normalisedFile2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphComparator

public GraphComparator()
Method Detail

testCompareGraphs

public void testCompareGraphs(String graphFile1,
                              String graphFile2,
                              String NS,
                              org.openrdf.rio.RDFFormat format,
                              org.openprovenance.elmo.RepositoryHelper rHelper,
                              org.openrdf.elmo.ElmoManager manager,
                              String normalisedFile1,
                              String normalisedFile2)
                       throws Exception
Throws:
Exception

testCompareGraphs

public void testCompareGraphs(org.openprovenance.model.OPMGraph graph1,
                              org.openprovenance.model.OPMGraph graph2,
                              String normalisedFile1,
                              String normalisedFile2)
                       throws Exception
Throws:
Exception

testCompareGraphCopies

public void testCompareGraphCopies(org.openprovenance.elmo.RdfOPMFactory oFactory,
                                   String graphFile1,
                                   String graphFile2,
                                   String normalisedGraphFile1,
                                   String normalisedGraphFile2)
                            throws Exception
Reads xml file graphFile1, creates an rdf graph (saved in graphFile2) compares the two graphs.

Throws:
Exception

compareAssert

public void compareAssert(org.openprovenance.model.OPMGraph graph1,
                          org.openprovenance.model.OPMGraph graph2)


Copyright © 2010. All Rights Reserved.