@Test public void test() { DTGraph<String, String> a = new MapDTGraph<String, String>(), b = new MapDTGraph<String, String>(); DTNode<String, String>a0 = a.add("a0"); DTNode<String, String>a1 = a.add("a1"); DTNode<String, String>a2 = a.add("a2"); DTNode<String, String>b0 = b.add("b0"); DTNode<String, String>b1 = b.add("b1"); DTNode<String, String>b2 = b.add("b2"); a0.connect(a1); a1.connect(a2); b0.connect(b2); b2.connect(b1); System.out.println(a); System.out.println(b); DVF2<String> vfs; vfs = new DVF2<String>(a, b, true); assertFalse(vfs.matches()); 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();  }