Class HardSoftLongScoreInliner
- java.lang.Object
-
- org.optaplanner.core.impl.score.inliner.ScoreInliner<HardSoftLongScore>
-
- org.optaplanner.core.impl.score.buildin.hardsoftlong.HardSoftLongScoreInliner
-
public class HardSoftLongScoreInliner extends ScoreInliner<HardSoftLongScore>
-
-
Field Summary
Fields Modifier and Type Field Description protected longhardScoreprotected longsoftScore-
Fields inherited from class org.optaplanner.core.impl.score.inliner.ScoreInliner
constraintMatchEnabled
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHardSoftLongScoreInliner(boolean constraintMatchEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongWeightedScoreImpacterbuildWeightedScoreImpacter(HardSoftLongScore constraintWeight)HardSoftLongScoreextractScore(int initScore)StringtoString()
-
-
-
Method Detail
-
buildWeightedScoreImpacter
public LongWeightedScoreImpacter buildWeightedScoreImpacter(HardSoftLongScore constraintWeight)
- Specified by:
buildWeightedScoreImpacterin classScoreInliner<HardSoftLongScore>
-
extractScore
public HardSoftLongScore extractScore(int initScore)
- Specified by:
extractScorein classScoreInliner<HardSoftLongScore>
-
-