public abstract class DroolsAbstractConstraintStream<Solution_> extends AbstractConstraintStream<Solution_>
| Modifier and Type | Field and Description |
|---|---|
protected DroolsConstraintFactory<Solution_> |
constraintFactory |
| Constructor and Description |
|---|
DroolsAbstractConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory) |
buildConstraintWeightExtractor, buildConstraintWeightExtractor, getCardinality, impact, impactScore, impactScoreConfigurable, penalize, penalizeConfigurable, reward, rewardConfigurableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitimpact, penalize, penalizeConfigurable, reward, rewardConfigurableprotected final DroolsConstraintFactory<Solution_> constraintFactory
public DroolsAbstractConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory)
protected DroolsConstraint<Solution_> buildConstraint(String constraintPackage, String constraintName, Score<?> constraintWeight, ScoreImpactType impactType, DroolsAbstractConstraintStream<Solution_> scoringStream)
protected DroolsConstraint<Solution_> buildConstraintConfigurable(String constraintPackage, String constraintName, ScoreImpactType impactType, DroolsAbstractConstraintStream<Solution_> scoringStream)
public abstract List<DroolsFromUniConstraintStream<Solution_,Object>> getFromStreamList()
public void addChildStream(DroolsAbstractConstraintStream<Solution_> childStream)
public Collection<DroolsAbstractConstraintStream<Solution_>> getChildStreams()
public List<org.drools.model.RuleItemBuilder<?>> createRuleItemBuilders(DroolsConstraint<?> constraint, org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal)
DroolsScoringUniConstraintStream.constraint - constraint which is being scoredscoreHolderGlobal - contains the score to be affectedpublic DroolsConstraintFactory<Solution_> getConstraintFactory()
ConstraintStreamConstraintFactory that build this.getConstraintFactory in interface ConstraintStreamgetConstraintFactory in class AbstractConstraintStream<Solution_>public Class[] getExpectedJustificationTypes()
DroolsRuleStructure.getExpectedJustificationTypes().
May only be called on scoring streams.Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.