public WeightedPath findSinglePath( Node start, Node end )
{
Iterator<WeightedPath> result = findAllPaths( start, end ).iterator();
return result.hasNext() ? result.next() : null;
}
<BUG>private static class SelectorFactory extends BestFirstSelectorFactory
</BUG>
{
private final CostEvaluator<Double> evaluator;
SelectorFactory( CostEvaluator<Double> evaluator )

public WeightedPath findSinglePath( Node start, Node end )
{
Iterator<WeightedPath> result = findAllPaths( start, end ).iterator();
return result.hasNext() ? result.next() : null;
}
private static class SelectorFactory extends BestFirstSelectorFactory<Double, Double>
{
private final CostEvaluator<Double> evaluator;
SelectorFactory( CostEvaluator<Double> evaluator )
