Modifier and Type | Class and Description |
---|---|
class |
BendableScoreHolder |
Modifier and Type | Class and Description |
---|---|
class |
BendableBigDecimalScoreHolder |
Modifier and Type | Class and Description |
---|---|
class |
BendableLongScoreHolder |
Modifier and Type | Class and Description |
---|---|
class |
HardMediumSoftScoreHolder |
Modifier and Type | Class and Description |
---|---|
class |
HardMediumSoftBigDecimalScoreHolder |
Modifier and Type | Class and Description |
---|---|
class |
HardMediumSoftLongScoreHolder |
Modifier and Type | Class and Description |
---|---|
class |
HardSoftScoreHolder |
Modifier and Type | Class and Description |
---|---|
class |
HardSoftBigDecimalScoreHolder |
Modifier and Type | Class and Description |
---|---|
class |
HardSoftDoubleScoreHolder
Deprecated.
Double-based scores are deprecated as floating point numbers are not associative (A + B + C == C + B + A)
and therefore they are not compatible with incremental score calculation.
Use
HardSoftBigDecimalScoreHolder or a scaled HardSoftLongScoreHolder instead. |
Modifier and Type | Class and Description |
---|---|
class |
HardSoftLongScoreHolder |
Modifier and Type | Class and Description |
---|---|
class |
SimpleScoreHolder |
Modifier and Type | Class and Description |
---|---|
class |
SimpleBigDecimalScoreHolder |
Modifier and Type | Class and Description |
---|---|
class |
SimpleDoubleScoreHolder
Deprecated.
Double-based scores are deprecated as floating point numbers are not associative (A + B + C == C + B + A)
and therefore they are not compatible with incremental score calculation.
Use
SimpleBigDecimalScoreHolder or a scaled SimpleLongScoreHolder instead. |
Modifier and Type | Class and Description |
---|---|
class |
SimpleLongScoreHolder |
Modifier and Type | Method and Description |
---|---|
org.drools.model.Rule |
DroolsConstraint.createRule(org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal) |
Modifier and Type | Method and Description |
---|---|
List<org.drools.model.RuleItemBuilder<?>> |
DroolsBiCondition.completeWithScoring(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal,
BiFunction<A,B,BigDecimal> matchWeighter) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsBiCondition.completeWithScoring(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal,
ToIntBiFunction<A,B> matchWeighter) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsBiCondition.completeWithScoring(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal,
ToLongBiFunction<A,B> matchWeighter) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsBiCondition.completeWithScoring(org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsScoringBiConstraintStream.createRuleItemBuilders(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal) |
Modifier and Type | Method and Description |
---|---|
protected <S extends Score<S>,H extends AbstractScoreHolder<S>> |
DroolsCondition.impactScore(DroolsConstraint<?> constraint,
org.drools.model.Drools drools,
H scoreHolder,
BigDecimal impact) |
protected <S extends Score<S>,H extends AbstractScoreHolder<S>> |
DroolsCondition.impactScore(DroolsConstraint<?> constraint,
org.drools.model.Drools drools,
H scoreHolder,
int impact) |
protected <S extends Score<S>,H extends AbstractScoreHolder<S>> |
DroolsCondition.impactScore(DroolsConstraint<?> constraint,
org.drools.model.Drools drools,
H scoreHolder,
long impact) |
protected <S extends Score<S>,H extends AbstractScoreHolder<S>> |
DroolsCondition.impactScore(org.drools.model.Drools drools,
H scoreHolder) |
Modifier and Type | Method and Description |
---|---|
List<org.drools.model.RuleItemBuilder<?>> |
DroolsAbstractConstraintStream.createRuleItemBuilders(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal)
Assemble elements of the rule that will process this stream and turn it into a constraint match.
|
Modifier and Type | Method and Description |
---|---|
List<org.drools.model.RuleItemBuilder<?>> |
DroolsQuadCondition.completeWithScoring(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal,
QuadFunction<A,B,C,D,BigDecimal> matchWeighter) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsQuadCondition.completeWithScoring(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal,
ToIntQuadFunction<A,B,C,D> matchWeighter) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsQuadCondition.completeWithScoring(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal,
ToLongQuadFunction<A,B,C,D> matchWeighter) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsQuadCondition.completeWithScoring(org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsScoringQuadConstraintStream.createRuleItemBuilders(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal) |
Modifier and Type | Method and Description |
---|---|
List<org.drools.model.RuleItemBuilder<?>> |
DroolsTriCondition.completeWithScoring(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal,
ToIntTriFunction<A,B,C> matchWeighter) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsTriCondition.completeWithScoring(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal,
ToLongTriFunction<A,B,C> matchWeighter) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsTriCondition.completeWithScoring(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal,
TriFunction<A,B,C,BigDecimal> matchWeighter) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsTriCondition.completeWithScoring(org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsScoringTriConstraintStream.createRuleItemBuilders(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal) |
Modifier and Type | Method and Description |
---|---|
List<org.drools.model.RuleItemBuilder<?>> |
DroolsUniCondition.completeWithScoring(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal,
Function<A,BigDecimal> matchWeighter) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsUniCondition.completeWithScoring(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal,
ToIntFunction<A> matchWeighter) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsUniCondition.completeWithScoring(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal,
ToLongFunction<A> matchWeighter) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsUniCondition.completeWithScoring(org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal) |
List<org.drools.model.RuleItemBuilder<?>> |
DroolsScoringUniConstraintStream.createRuleItemBuilders(DroolsConstraint<?> constraint,
org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal) |
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.