public final class BavetScoringUniConstraintStream<Solution_,A> extends BavetAbstractUniConstraintStream<Solution_,A>
childStreamList
constraintFactory
Constructor and Description |
---|
BavetScoringUniConstraintStream(BavetConstraintFactory<Solution_> constraintFactory,
BavetAbstractUniConstraintStream<Solution_,A> parent,
BavetConstraint<Solution_> constraint) |
BavetScoringUniConstraintStream(BavetConstraintFactory<Solution_> constraintFactory,
BavetAbstractUniConstraintStream<Solution_,A> parent,
BavetConstraint<Solution_> constraint,
Function<A,BigDecimal> bigDecimalMatchWeigher) |
BavetScoringUniConstraintStream(BavetConstraintFactory<Solution_> constraintFactory,
BavetAbstractUniConstraintStream<Solution_,A> parent,
BavetConstraint<Solution_> constraint,
ToIntFunction<A> intMatchWeigher) |
BavetScoringUniConstraintStream(BavetConstraintFactory<Solution_> constraintFactory,
BavetAbstractUniConstraintStream<Solution_,A> parent,
BavetConstraint<Solution_> constraint,
ToLongFunction<A> longMatchWeigher) |
Modifier and Type | Method and Description |
---|---|
protected void |
createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetAbstractUniNode<A> node) |
protected BavetScoringUniNode<A> |
createNode(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetAbstractUniNode<A> parentNode) |
List<BavetFromUniConstraintStream<Solution_,Object>> |
getFromStreamList() |
String |
toString() |
addChildStream, createNodeChain, filter, getCardinality, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, ifExists, ifNotExists, impactScore, impactScore, impactScoreBigDecimal, impactScoreConfigurable, impactScoreConfigurable, impactScoreConfigurableBigDecimal, impactScoreConfigurableLong, impactScoreLong, join, processNode
buildConstraint, buildConstraintConfigurable, getConstraintFactory
buildConstraintWeightExtractor, buildConstraintWeightExtractor, impact, penalize, penalizeConfigurable, reward, rewardConfigurable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
impact, impactBigDecimal, impactConfigurable, impactConfigurableBigDecimal, impactConfigurableLong, impactLong, penalize, penalizeBigDecimal, penalizeConfigurable, penalizeConfigurableBigDecimal, penalizeConfigurableLong, penalizeLong, reward, rewardBigDecimal, rewardConfigurable, rewardConfigurableBigDecimal, rewardConfigurableLong, rewardLong
ifExists, ifExists, ifExists, ifExists, ifExistsOther, ifExistsOther, ifExistsOther, ifExistsOther, ifExistsOther, ifExistsOther, ifNotExists, ifNotExists, ifNotExists, ifNotExists, ifNotExistsOther, ifNotExistsOther, ifNotExistsOther, ifNotExistsOther, ifNotExistsOther, ifNotExistsOther, impact, impactBigDecimal, impactConfigurable, impactConfigurableBigDecimal, impactConfigurableLong, impactLong, join, join, join, join, join, join, join, penalize, penalizeBigDecimal, penalizeConfigurable, penalizeConfigurableBigDecimal, penalizeConfigurableLong, penalizeLong, reward, rewardBigDecimal, rewardConfigurable, rewardConfigurableBigDecimal, rewardConfigurableLong, rewardLong
getConstraintFactory, impact, impact, penalize, penalize, penalizeConfigurable, penalizeConfigurable, reward, reward, rewardConfigurable, rewardConfigurable
public BavetScoringUniConstraintStream(BavetConstraintFactory<Solution_> constraintFactory, BavetAbstractUniConstraintStream<Solution_,A> parent, BavetConstraint<Solution_> constraint)
public BavetScoringUniConstraintStream(BavetConstraintFactory<Solution_> constraintFactory, BavetAbstractUniConstraintStream<Solution_,A> parent, BavetConstraint<Solution_> constraint, ToIntFunction<A> intMatchWeigher)
public BavetScoringUniConstraintStream(BavetConstraintFactory<Solution_> constraintFactory, BavetAbstractUniConstraintStream<Solution_,A> parent, BavetConstraint<Solution_> constraint, ToLongFunction<A> longMatchWeigher)
public BavetScoringUniConstraintStream(BavetConstraintFactory<Solution_> constraintFactory, BavetAbstractUniConstraintStream<Solution_,A> parent, BavetConstraint<Solution_> constraint, Function<A,BigDecimal> bigDecimalMatchWeigher)
public List<BavetFromUniConstraintStream<Solution_,Object>> getFromStreamList()
getFromStreamList
in class BavetAbstractConstraintStream<Solution_>
protected BavetScoringUniNode<A> createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> parentNode)
createNode
in class BavetAbstractUniConstraintStream<Solution_,A>
protected void createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> node)
createChildNodeChains
in class BavetAbstractUniConstraintStream<Solution_,A>
Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.