1 25 38 package org.jgrapht.experimental.isomorphism; 39 40 import org.jgrapht.*; 41 42 43 47 public class EdgeTopologyCompare 48 { 49 50 52 59 @SuppressWarnings ("unchecked") 60 public static boolean compare(Graph g1, Graph g2) 61 { 62 boolean result = false; 63 GraphOrdering lg1 = new GraphOrdering(g1); 64 GraphOrdering lg2 = new GraphOrdering(g2); 65 result = lg1.equalsByEdgeOrder(lg2); 66 67 return result; 68 } 69 } 70 | Popular Tags |