|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Comparison
Provides the ability to compare two graph with one another.
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). |
Method Detail |
---|
boolean isGrounded(Graph g) throws GraphException
g
- the graph to test.
GraphException
boolean areIsomorphic(Graph g1, Graph g2) throws GraphException
g1
- The first graph to test.g2
- The second graph to test.
GraphException
boolean groundedGraphsAreEqual(Graph g1, Graph g2) throws GraphException
g1
- 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 |