1 package org.simantics.graph.matching;
4 public enum DebugMatchingStrategy implements GraphMatchingStrategy {
9 public void applyTo(GraphMatching matching) {
10 int[] aToB = matching.aToB;
11 String[] names = matching.aGraph.names;
12 for(int s=0;s<aToB.length;++s)
14 System.out.println(names[s]);
15 for(Stat stat : matching.aGraph.statements[s]) {
16 System.out.println(" " + stat.toString(names));