Class BendableLongScoreInliner
java.lang.Object
ai.timefold.solver.constraint.streams.common.inliner.AbstractScoreInliner<BendableLongScore>
ai.timefold.solver.constraint.streams.common.inliner.BendableLongScoreInliner
-
Field Summary
Fields inherited from class ai.timefold.solver.constraint.streams.common.inliner.AbstractScoreInliner
constraintMatchEnabled -
Method Summary
Modifier and TypeMethodDescriptionWeightedScoreImpacter<BendableLongScore,ai.timefold.solver.constraint.streams.common.inliner.BendableLongScoreContext> buildWeightedScoreImpacter(Constraint constraint, BendableLongScore constraintWeight) Create a new instance ofWeightedScoreImpacterfor a particular constraint.extractScore(int initScore) toString()Methods inherited from class ai.timefold.solver.constraint.streams.common.inliner.AbstractScoreInliner
addConstraintMatch, buildScoreInliner, getConstraintMatchTotalMap, getIndictmentMap, isConstraintMatchEnabled, validateConstraintWeight
-
Method Details
-
buildWeightedScoreImpacter
public WeightedScoreImpacter<BendableLongScore,ai.timefold.solver.constraint.streams.common.inliner.BendableLongScoreContext> buildWeightedScoreImpacter(Constraint constraint, BendableLongScore constraintWeight) Description copied from class:AbstractScoreInlinerCreate a new instance ofWeightedScoreImpacterfor a particular constraint.- Specified by:
buildWeightedScoreImpacterin classAbstractScoreInliner<BendableLongScore>- Parameters:
constraint- never nullconstraintWeight- never null- Returns:
- never null
-
extractScore
- Specified by:
extractScorein classAbstractScoreInliner<BendableLongScore>
-
toString
-