// node string matching
StringSimilarityCalculator nodeStringCalc = leafCalc;
double nStTh = lTh;
// node matching
NodeSimilarityCalculator nodeCalc = new ChawatheCalculator();
nodeCalc.setLeafMatchSet(matchingSet);
double nTh = 0.0;
TreeMatcher result = new BestLeafTreeMatcher();
result.init(leafCalc, lTh, nodeStringCalc, nStTh, nodeCalc, nTh);