public abstract class BavetAbstractConstraintStream<Solution_> extends AbstractConstraintStream<Solution_>
Modifier and Type | Field and Description |
---|---|
protected BavetConstraintFactory<Solution_> |
constraintFactory |
Constructor and Description |
---|
BavetAbstractConstraintStream(BavetConstraintFactory<Solution_> constraintFactory) |
Modifier and Type | Method and Description |
---|---|
protected BavetConstraint<Solution_> |
buildConstraint(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ScoreImpactType impactType) |
protected BavetConstraint<Solution_> |
buildConstraintConfigurable(String constraintPackage,
String constraintName,
ScoreImpactType impactType) |
BavetConstraintFactory<Solution_> |
getConstraintFactory()
The
ConstraintFactory that build this. |
abstract List<BavetFromUniConstraintStream<Solution_,Object>> |
getFromStreamList() |
buildConstraintWeightExtractor, buildConstraintWeightExtractor, getCardinality, impact, impactScore, impactScoreConfigurable, penalize, penalizeConfigurable, reward, rewardConfigurable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
impact, penalize, penalizeConfigurable, reward, rewardConfigurable
protected final BavetConstraintFactory<Solution_> constraintFactory
public BavetAbstractConstraintStream(BavetConstraintFactory<Solution_> constraintFactory)
protected BavetConstraint<Solution_> buildConstraint(String constraintPackage, String constraintName, Score<?> constraintWeight, ScoreImpactType impactType)
protected BavetConstraint<Solution_> buildConstraintConfigurable(String constraintPackage, String constraintName, ScoreImpactType impactType)
public abstract List<BavetFromUniConstraintStream<Solution_,Object>> getFromStreamList()
public BavetConstraintFactory<Solution_> getConstraintFactory()
ConstraintStream
ConstraintFactory
that build this.getConstraintFactory
in interface ConstraintStream
getConstraintFactory
in class AbstractConstraintStream<Solution_>
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.