protected static BestChainResult computeBestPath(int lookupStream, QueryGraph queryGraph, DependencyGraph dependencyGraph)
{
int[] defNestingorder = buildDefaultNestingOrder(queryGraph.getNumStreams(), lookupStream);
Enumeration<int[]> streamEnum;
if (defNestingorder.length < 6) {
streamEnum = new NumberSetPermutationEnumeration(defNestingorder);
}
else {
streamEnum = new NumberSetShiftGroupEnumeration(defNestingorder);
}
int[] bestPermutation = null;