Class HardMediumSoftLongScoreInliner
- java.lang.Object
-
- org.optaplanner.core.impl.score.inliner.ScoreInliner<HardMediumSoftLongScore>
-
- org.optaplanner.core.impl.score.buildin.hardmediumsoftlong.HardMediumSoftLongScoreInliner
-
public class HardMediumSoftLongScoreInliner extends ScoreInliner<HardMediumSoftLongScore>
-
-
Field Summary
Fields Modifier and Type Field Description protected long
hardScore
protected long
mediumScore
protected long
softScore
-
Fields inherited from class org.optaplanner.core.impl.score.inliner.ScoreInliner
constraintMatchEnabled
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HardMediumSoftLongScoreInliner(boolean constraintMatchEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongWeightedScoreImpacter
buildWeightedScoreImpacter(HardMediumSoftLongScore constraintWeight)
HardMediumSoftLongScore
extractScore(int initScore)
String
toString()
-
-
-
Method Detail
-
buildWeightedScoreImpacter
public LongWeightedScoreImpacter buildWeightedScoreImpacter(HardMediumSoftLongScore constraintWeight)
- Specified by:
buildWeightedScoreImpacter
in classScoreInliner<HardMediumSoftLongScore>
-
extractScore
public HardMediumSoftLongScore extractScore(int initScore)
- Specified by:
extractScore
in classScoreInliner<HardMediumSoftLongScore>
-
-