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,
boolean positive) |
protected BavetConstraint<Solution_> |
buildConstraintConfigurable(String constraintPackage,
String constraintName,
boolean positive) |
BavetConstraintFactory<Solution_> |
getConstraintFactory()
The
ConstraintFactory that build this. |
abstract List<BavetFromUniConstraintStream<Solution_,Object>> |
getFromStreamList() |
buildConstraintWeightExtractor, buildConstraintWeightExtractor, impactScore, impactScoreConfigurable, penalize, penalizeConfigurable, reward, rewardConfigurable, validateConstraintId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
penalize, penalizeConfigurable, reward, rewardConfigurable
protected final BavetConstraintFactory<Solution_> constraintFactory
public BavetAbstractConstraintStream(BavetConstraintFactory<Solution_> constraintFactory)
protected BavetConstraint<Solution_> buildConstraint(String constraintPackage, String constraintName, Score<?> constraintWeight, boolean positive)
protected BavetConstraint<Solution_> buildConstraintConfigurable(String constraintPackage, String constraintName, boolean positive)
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–2020 JBoss by Red Hat. All rights reserved.