public class FairSelectorProbabilityWeightFactory extends Object implements SelectionProbabilityWeightFactory<IterableSelector>
| Constructor and Description |
|---|
FairSelectorProbabilityWeightFactory() |
| Modifier and Type | Method and Description |
|---|---|
double |
createProbabilityWeight(ScoreDirector scoreDirector,
IterableSelector selector) |
public FairSelectorProbabilityWeightFactory()
public double createProbabilityWeight(ScoreDirector scoreDirector, IterableSelector selector)
createProbabilityWeight in interface SelectionProbabilityWeightFactory<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_INFINITYCopyright © 2006–2016 JBoss by Red Hat. All rights reserved.