Interface ConstraintSessionFactory<Solution_>
-
- All Known Implementing Classes:
AbstractConstraintSessionFactory
,BavetConstraintSessionFactory
,DroolsConstraintSessionFactory
public interface ConstraintSessionFactory<Solution_>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConstraintSession<Solution_>
buildSession(boolean constraintMatchEnabled, Solution_ workingSolution)
This method is thread-safe.
-
-
-
Method Detail
-
buildSession
ConstraintSession<Solution_> buildSession(boolean constraintMatchEnabled, Solution_ workingSolution)
This method is thread-safe.- Parameters:
constraintMatchEnabled
- true ifScoreDirector.isConstraintMatchEnabled()
should be trueworkingSolution
- if null, uniform synthetic constraint weights will be applied- Returns:
- never null
-
-