Class BavetConstraintSession<Score_ extends Score<Score_>>
- java.lang.Object
-
- ai.timefold.solver.constraint.streams.bavet.BavetConstraintSession<Score_>
-
- Type Parameters:
Score_-
public final class BavetConstraintSession<Score_ extends Score<Score_>> extends Object
The type is public to make it easier for Bavet-specific minimal bug reproducers to be created. Instances should be created throughBavetConstraintStreamScoreDirectorFactory.newSession(boolean, Object).
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Score_calculateScore(int initScore)Map<String,ConstraintMatchTotal<Score_>>getConstraintMatchTotalMap()Map<Object,Indictment<Score_>>getIndictmentMap()AbstractScoreInliner<Score_>getScoreInliner()voidinsert(Object fact)voidretract(Object fact)voidupdate(Object fact)
-
-
-
Method Detail
-
insert
public void insert(Object fact)
-
update
public void update(Object fact)
-
retract
public void retract(Object fact)
-
calculateScore
public Score_ calculateScore(int initScore)
-
getScoreInliner
public AbstractScoreInliner<Score_> getScoreInliner()
-
getConstraintMatchTotalMap
public Map<String,ConstraintMatchTotal<Score_>> getConstraintMatchTotalMap()
-
getIndictmentMap
public Map<Object,Indictment<Score_>> getIndictmentMap()
-
-