Class BavetConstraint<Solution_>
- java.lang.Object
-
- org.optaplanner.core.impl.score.stream.common.AbstractConstraint<Solution_,BavetConstraint<Solution_>,BavetConstraintFactory<Solution_>>
-
- org.optaplanner.core.impl.score.stream.bavet.BavetConstraint<Solution_>
-
- All Implemented Interfaces:
Constraint
public final class BavetConstraint<Solution_> extends AbstractConstraint<Solution_,BavetConstraint<Solution_>,BavetConstraintFactory<Solution_>>
-
-
Constructor Summary
Constructors Constructor Description BavetConstraint(BavetConstraintFactory<Solution_> constraintFactory, String constraintPackage, String constraintName, Function<Solution_,Score<?>> constraintWeightExtractor, ScoreImpactType scoreImpactType, boolean isConstraintWeightConfigurable, List<BavetFromUniConstraintStream<Solution_,Object>> fromStreamList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createNodes(BavetNodeBuildPolicy<Solution_> buildPolicy, Map<Class<?>,BavetFromUniNode<Object>> declaredClassToNodeMap, Score<?> constraintWeight)
String
toString()
-
Methods inherited from class org.optaplanner.core.impl.score.stream.common.AbstractConstraint
assertCorrectImpact, assertCorrectImpact, assertCorrectImpact, extractConstraintWeight, getConstraintFactory, getConstraintId, getConstraintName, getConstraintPackage, getScoreImpactType
-
-
-
-
Constructor Detail
-
BavetConstraint
public BavetConstraint(BavetConstraintFactory<Solution_> constraintFactory, String constraintPackage, String constraintName, Function<Solution_,Score<?>> constraintWeightExtractor, ScoreImpactType scoreImpactType, boolean isConstraintWeightConfigurable, List<BavetFromUniConstraintStream<Solution_,Object>> fromStreamList)
-
-
Method Detail
-
createNodes
public void createNodes(BavetNodeBuildPolicy<Solution_> buildPolicy, Map<Class<?>,BavetFromUniNode<Object>> declaredClassToNodeMap, Score<?> constraintWeight)
-
-