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