org.apache.jena.common
Class IsoMatcher

java.lang.Object
  extended by 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.


Method Summary
static boolean isomorphic(DatasetGraph dsg1, DatasetGraph dsg2)
           
static boolean isomorphic(Graph g1, Graph g2)
           
static boolean isomorphic(List<Tuple<Node>> x1, List<Tuple<Node>> x2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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