public final class DroolsScoringQuadConstraintStream<Solution_,A,B,C,D> extends DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D>
parent
constraintFactory
Constructor and Description |
---|
DroolsScoringQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory,
DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent) |
DroolsScoringQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory,
DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent,
QuadFunction<A,B,C,D,BigDecimal> bigDecimalMatchWeigher) |
DroolsScoringQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory,
DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent,
ToIntQuadFunction<A,B,C,D> intMatchWeigher) |
DroolsScoringQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory,
DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent,
ToLongQuadFunction<A,B,C,D> longMatchWeigher) |
Modifier and Type | Method and Description |
---|---|
List<org.drools.model.RuleItemBuilder<?>> |
createRuleItemBuilders(org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal)
Assemble elements of the rule that will process this stream and turn it into a constraint match.
|
DroolsQuadCondition<A,B,C,D,?> |
getCondition() |
Class[] |
getExpectedJustificationTypes()
As defined by
DroolsRuleStructure.getExpectedJustificationTypes() . |
String |
toString() |
filter, getFromStreamList, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, ifExists, ifNotExists, impactScore, impactScore, impactScoreBigDecimal, impactScoreConfigurable, impactScoreConfigurable, impactScoreConfigurableBigDecimal, impactScoreConfigurableLong, impactScoreLong, isGroupByAllowed
addChildStream, buildConstraint, buildConstraintConfigurable, getChildStreams, getConstraintFactory, throwWhenGroupByNotAllowed
buildConstraintWeightExtractor, buildConstraintWeightExtractor, penalize, penalizeConfigurable, reward, rewardConfigurable, validateConstraintId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
penalize, penalizeBigDecimal, penalizeConfigurable, penalizeConfigurableBigDecimal, penalizeConfigurableLong, penalizeLong, reward, rewardBigDecimal, rewardConfigurable, rewardConfigurableBigDecimal, rewardConfigurableLong, rewardLong
ifExists, ifExists, ifExists, ifExists, ifNotExists, ifNotExists, ifNotExists, ifNotExists, penalize, penalizeBigDecimal, penalizeConfigurable, penalizeConfigurableBigDecimal, penalizeConfigurableLong, penalizeLong, reward, rewardBigDecimal, rewardConfigurable, rewardConfigurableBigDecimal, rewardConfigurableLong, rewardLong
getConstraintFactory, penalize, penalize, penalizeConfigurable, penalizeConfigurable, reward, reward, rewardConfigurable, rewardConfigurable
public DroolsScoringQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent)
public DroolsScoringQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent, ToIntQuadFunction<A,B,C,D> intMatchWeigher)
public DroolsScoringQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent, ToLongQuadFunction<A,B,C,D> longMatchWeigher)
public DroolsScoringQuadConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D> parent, QuadFunction<A,B,C,D,BigDecimal> bigDecimalMatchWeigher)
public List<org.drools.model.RuleItemBuilder<?>> createRuleItemBuilders(org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal)
DroolsAbstractConstraintStream
DroolsScoringUniConstraintStream
.createRuleItemBuilders
in class DroolsAbstractConstraintStream<Solution_>
scoreHolderGlobal
- contains the score to be affectedpublic DroolsQuadCondition<A,B,C,D,?> getCondition()
getCondition
in class DroolsAbstractQuadConstraintStream<Solution_,A,B,C,D>
public Class[] getExpectedJustificationTypes()
DroolsAbstractConstraintStream
DroolsRuleStructure.getExpectedJustificationTypes()
.
May only be called on scoring streams.getExpectedJustificationTypes
in class DroolsAbstractConstraintStream<Solution_>
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.