public final class BavetConstraintSessionFactory<Solution_> extends Object implements ConstraintSessionFactory<Solution_>
Constructor and Description |
---|
BavetConstraintSessionFactory(SolutionDescriptor<Solution_> solutionDescriptor,
List<BavetConstraint<Solution_>> constraintList) |
Modifier and Type | Method and Description |
---|---|
ConstraintSession<Solution_> |
buildSession(boolean constraintMatchEnabled,
Solution_ workingSolution)
This method is thread-safe.
|
public BavetConstraintSessionFactory(SolutionDescriptor<Solution_> solutionDescriptor, List<BavetConstraint<Solution_>> constraintList)
public ConstraintSession<Solution_> buildSession(boolean constraintMatchEnabled, Solution_ workingSolution)
ConstraintSessionFactory
buildSession
in interface ConstraintSessionFactory<Solution_>
constraintMatchEnabled
- true if ScoreDirector.isConstraintMatchEnabled()
should be trueworkingSolution
- never nullCopyright © 2006–2020 JBoss by Red Hat. All rights reserved.