Class HardMediumSoftScoreInliner
- java.lang.Object
-
- org.optaplanner.core.impl.score.inliner.ScoreInliner<HardMediumSoftScore>
-
- org.optaplanner.core.impl.score.buildin.hardmediumsoft.HardMediumSoftScoreInliner
-
public final class HardMediumSoftScoreInliner extends ScoreInliner<HardMediumSoftScore>
-
-
Field Summary
-
Fields inherited from class org.optaplanner.core.impl.score.inliner.ScoreInliner
constraintMatchEnabled
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHardMediumSoftScoreInliner(Map<Constraint,HardMediumSoftScore> constraintToWeightMap, boolean constraintMatchEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WeightedScoreImpacterbuildWeightedScoreImpacter(Constraint constraint)Create a new instance ofWeightedScoreImpacterfor a particular constraint.HardMediumSoftScoreextractScore(int initScore)StringtoString()-
Methods inherited from class org.optaplanner.core.impl.score.inliner.ScoreInliner
addConstraintMatch, getConstraintMatchTotalMap, getConstraintWeight, getIndictmentMap
-
-
-
-
Constructor Detail
-
HardMediumSoftScoreInliner
protected HardMediumSoftScoreInliner(Map<Constraint,HardMediumSoftScore> constraintToWeightMap, boolean constraintMatchEnabled)
-
-
Method Detail
-
buildWeightedScoreImpacter
public WeightedScoreImpacter buildWeightedScoreImpacter(Constraint constraint)
Description copied from class:ScoreInlinerCreate a new instance ofWeightedScoreImpacterfor a particular constraint.- Specified by:
buildWeightedScoreImpacterin classScoreInliner<HardMediumSoftScore>- Parameters:
constraint- never null- Returns:
- never null
-
extractScore
public HardMediumSoftScore extractScore(int initScore)
- Specified by:
extractScorein classScoreInliner<HardMediumSoftScore>
-
-