public class FairSelectorProbabilityWeightFactory<Solution_> extends Object implements SelectionProbabilityWeightFactory<Solution_,IterableSelector>
Constructor and Description |
---|
FairSelectorProbabilityWeightFactory() |
Modifier and Type | Method and Description |
---|---|
double |
createProbabilityWeight(ScoreDirector<Solution_> scoreDirector,
IterableSelector selector) |
public FairSelectorProbabilityWeightFactory()
public double createProbabilityWeight(ScoreDirector<Solution_> scoreDirector, IterableSelector selector)
createProbabilityWeight
in interface SelectionProbabilityWeightFactory<Solution_,IterableSelector>
scoreDirector
- never null, the ScoreDirector
which has the ScoreDirector.getWorkingSolution()
to which the selection belongs or applies toselector
- never null, a PlanningEntity
, a planningValue, a Move
or a Selector
to create the probabilityWeight for0.0 <= returnValue <
Double.POSITIVE_INFINITY
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.