Class ModelComparator

Description

This class compares to models. This comparator bases on the labelling algorithm described in <href="http://www.hpl.hp.com/techreports/2003/HPL-2003-142.pdf" >Signing RDF Graphs</href> by Jeremy J. Carroll.

Located in /util/ModelComparator.php (line 21)

Object
   |
   --ModelComparator
Method Summary
Array buildSortArray (mixed $tripleList)
boolean compare (mixed $thisModel, mixed $thatModel)
boolean compareTriples (mixed $array1, mixed $array2)
Array renameBlanks (mixed $sortedArray)
Methods
buildSortArray (line 65)

Builds a sorted array.

Array buildSortArray (mixed $tripleList)
compare (line 31)

Compares two models.

boolean compare (mixed $thisModel, mixed $thatModel)
compareTriples (line 144)

Compares the Triples in the lists.

boolean compareTriples (mixed $array1, mixed $array2)
renameBlanks (line 99)

Renames the models Blanknodes.

Array renameBlanks (mixed $sortedArray)

Inherited Methods

Inherited From Object

Object::toString()

Documentation generated on Mon, 26 Jun 2006 14:25:39 +0200 by phpDocumentor 1.3.0RC6