}
private static void checkTrees(Tree t, CostFunction w, Tree s) {
TIntArrayList[] alignment = new TIntArrayList[3];
MatcherFactory matcherFactory = new UnorderedMatcherFactory();
HSA hsa = new HSA(w, matcherFactory);
double cost = hsa.computeHSA(t, s, alignment);
System.out.println("Cost: " + cost);
for (int i = 0; i < alignment[0].size(); ++i) {