|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jrdf.graph.local.index.operation.mem.ComparisonImpl
public final class ComparisonImpl
Default in memory Comparison.
Currently, only implements grounded isomorphism.
| Constructor Summary | |
|---|---|
ComparisonImpl()
|
|
| Method Summary | |
|---|---|
boolean |
areIsomorphic(Graph g1,
Graph g2)
Return true if both graphs are equivalent (isomorphic) to one another. |
boolean |
groundedGraphsAreEqual(Graph g1,
Graph g2)
Return true if both graphs are equivalent (isomophic) to one another. |
boolean |
isGrounded(Graph g)
Returns true if the graph is grounded (does not contain blank nodes). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ComparisonImpl()
| Method Detail |
|---|
public boolean isGrounded(Graph g)
throws GraphException
Comparison
isGrounded in interface Comparisong - the graph to test.
GraphException
public boolean areIsomorphic(Graph g1,
Graph g2)
throws GraphException
Comparison
areIsomorphic in interface Comparisong1 - The first graph to test.g2 - The second graph to test.
GraphException
public boolean groundedGraphsAreEqual(Graph g1,
Graph g2)
throws GraphException
Comparison
groundedGraphsAreEqual in interface Comparisong1 - The first graph to test.g2 - The second graph to test.
GraphException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||