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