SelectorFactory( CostEvaluator<Double> evaluator )
{
this.evaluator = evaluator;
}
@Override
<BUG>protected double calculateValue( ExpansionSource next )
</BUG>
{
return next.depth() == 0 ? 0d : evaluator.getCost( next.relationship(), false );
<BUG>}
}
}

</BUG>

SelectorFactory( CostEvaluator<Double> evaluator )
{
this.evaluator = evaluator;
}
@Override
protected Double calculateValue( ExpansionSource next )
{
return next.depth() == 0 ? 0d : evaluator.getCost( next.relationship(), false );
