org.apache.jena.common
Class IsoMatcher
java.lang.Object
org.apache.jena.common.IsoMatcher
public class IsoMatcher
- extends Object
Simple isomorphism testing
This code is simple and slow.
For graphs, the Graph isomorphism code in Jena is much better (better tested, better performance)
This code can work on any tuples of nodes.
isomorphic
public static boolean isomorphic(Graph g1,
Graph g2)
isomorphic
public static boolean isomorphic(DatasetGraph dsg1,
DatasetGraph dsg2)
isomorphic
public static boolean isomorphic(List<Tuple<Node>> x1,
List<Tuple<Node>> x2)
Licenced under the Apache License, Version 2.0