@Test public void test2() { DTGraph<String, String> a = new MapDTGraph<String, String>(), b = new MapDTGraph<String, String>(); DTNode<String, String> aa = a.add("0"); DTNode<String, String> ab = a.add("1"); DTNode<String, String> ac = a.add("2"); DTNode<String, String> ad = a.add("3"); DTNode<String, String> ag = a.add("4"); DTNode<String, String> ah = a.add("5"); DTNode<String, String> ai = a.add("6"); DTNode<String, String> aj = a.add("7"); DTNode<String, String> bb = b.add("1"); DTNode<String, String> ba = b.add("0"); DTNode<String, String> bc = b.add("2"); DTNode<String, String> bg = b.add("4"); DTNode<String, String> bd = b.add("3"); DTNode<String, String> bj = b.add("7"); DTNode<String, String> bh = b.add("5"); DTNode<String, String> bi = b.add("6"); aa.connect(ag); aa.connect(ah); aa.connect(ai); ab.connect(ag); ab.connect(ah); ab.connect(aj); ac.connect(ag); ac.connect(ai); ac.connect(aj); ad.connect(ah); ad.connect(ai); ad.connect(aj); ba.connect(bg); ba.connect(bh); ba.connect(bi); bb.connect(bg); bb.connect(bh); bb.connect(bj); bc.connect(bg); bc.connect(bi); bc.connect(bj); bd.connect(bh); bd.connect(bi); bd.connect(bj); System.out.println(a.size()); System.out.println(b.size()); DVF2<String> vfs; vfs = new DVF2<String>(a, b, false); assertTrue(vfs.matches()); }
public boolean matches() { return full(core1); }
DVF2 { public boolean matches() { return full(core1); } }
DVF2 { public boolean matches() { return full(core1); } DVF2(DGraph<L> g1, DGraph<L> g2, boolean checkLabels); }
DVF2 { public boolean matches() { return full(core1); } DVF2(DGraph<L> g1, DGraph<L> g2, boolean checkLabels); boolean matches(); Pair<List<Integer>, List<Integer>> mapping(); }
DVF2 { public boolean matches() { return full(core1); } DVF2(DGraph<L> g1, DGraph<L> g2, boolean checkLabels); boolean matches(); Pair<List<Integer>, List<Integer>> mapping();  }