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