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