Class BavetJoinTriConstraintStream<Solution_,A,B,C>
- java.lang.Object
-
- org.optaplanner.constraint.streams.common.AbstractConstraintStream<Solution_>
-
- org.optaplanner.constraint.streams.bavet.common.BavetAbstractConstraintStream<Solution_>
-
- org.optaplanner.constraint.streams.bavet.tri.BavetAbstractTriConstraintStream<Solution_,A,B,C>
-
- org.optaplanner.constraint.streams.bavet.tri.BavetJoinTriConstraintStream<Solution_,A,B,C>
-
- All Implemented Interfaces:
BavetJoinConstraintStream<Solution_>,InnerTriConstraintStream<A,B,C>,org.optaplanner.core.api.score.stream.ConstraintStream,org.optaplanner.core.api.score.stream.tri.TriConstraintStream<A,B,C>
public final class BavetJoinTriConstraintStream<Solution_,A,B,C> extends BavetAbstractTriConstraintStream<Solution_,A,B,C> implements BavetJoinConstraintStream<Solution_>
-
-
Field Summary
-
Fields inherited from class org.optaplanner.constraint.streams.bavet.tri.BavetAbstractTriConstraintStream
childStreamList
-
Fields inherited from class org.optaplanner.constraint.streams.bavet.common.BavetAbstractConstraintStream
constraintFactory
-
-
Constructor Summary
Constructors Constructor Description BavetJoinTriConstraintStream(BavetConstraintFactory<Solution_> constraintFactory, BavetJoinBridgeBiConstraintStream<Solution_,A,B> leftParent, BavetJoinBridgeUniConstraintStream<Solution_,C> rightParent, DefaultTriJoiner<A,B,C> joiner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <Score_ extends org.optaplanner.core.api.score.Score<Score_>>
voidbuildNode(NodeBuildHelper<Score_> buildHelper)voidcollectActiveConstraintStreams(Set<BavetAbstractConstraintStream<Solution_>> constraintStreamSet)booleanequals(Object o)org.optaplanner.core.api.score.stream.ConstraintStreamgetTupleSource()booleanguaranteesDistinct()This method will return true if the constraint stream is guaranteed to only produce distinct tuples.inthashCode()StringtoString()-
Methods inherited from class org.optaplanner.constraint.streams.bavet.tri.BavetAbstractTriConstraintStream
filter, flattenLast, getChildStreamList, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, ifExists, ifExists, ifExistsIncludingNullVars, ifNotExists, ifNotExists, ifNotExistsIncludingNullVars, impactScore, impactScore, impactScoreBigDecimal, impactScoreConfigurable, impactScoreConfigurable, impactScoreConfigurableBigDecimal, impactScoreConfigurableLong, impactScoreLong, join, map, shareAndAddChild
-
Methods inherited from class org.optaplanner.constraint.streams.bavet.common.BavetAbstractConstraintStream
assertBavetUniConstraintStream, buildConstraint, buildConstraintConfigurable, getConstraintFactory
-
Methods inherited from class org.optaplanner.constraint.streams.common.AbstractConstraintStream
buildConstraintWeightExtractor, buildConstraintWeightExtractor, getRetrievalSemantics, impact, penalize, penalizeConfigurable, reward, rewardConfigurable
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.optaplanner.core.api.score.stream.ConstraintStream
getConstraintFactory, impact, impact, penalize, penalize, penalizeConfigurable, penalizeConfigurable, reward, reward, rewardConfigurable, rewardConfigurable
-
Methods inherited from interface org.optaplanner.constraint.streams.tri.InnerTriConstraintStream
distinct, getRetrievalSemantics, impact, impactBigDecimal, impactConfigurable, impactConfigurableBigDecimal, impactConfigurableLong, impactLong, join, penalize, penalizeBigDecimal, penalizeConfigurable, penalizeConfigurableBigDecimal, penalizeConfigurableLong, penalizeLong, reward, rewardBigDecimal, rewardConfigurable, rewardConfigurableBigDecimal, rewardConfigurableLong, rewardLong
-
Methods inherited from interface org.optaplanner.core.api.score.stream.tri.TriConstraintStream
ifExists, ifExists, ifExists, ifExists, ifExistsIncludingNullVars, ifExistsIncludingNullVars, ifExistsIncludingNullVars, ifExistsIncludingNullVars, ifNotExists, ifNotExists, ifNotExists, ifNotExists, ifNotExistsIncludingNullVars, ifNotExistsIncludingNullVars, ifNotExistsIncludingNullVars, ifNotExistsIncludingNullVars, impact, impactBigDecimal, impactConfigurable, impactConfigurableBigDecimal, impactConfigurableLong, impactLong, join, join, join, join, join, join, join, join, join, join, penalize, penalizeBigDecimal, penalizeConfigurable, penalizeConfigurableBigDecimal, penalizeConfigurableLong, penalizeLong, reward, rewardBigDecimal, rewardConfigurable, rewardConfigurableBigDecimal, rewardConfigurableLong, rewardLong
-
-
-
-
Constructor Detail
-
BavetJoinTriConstraintStream
public BavetJoinTriConstraintStream(BavetConstraintFactory<Solution_> constraintFactory, BavetJoinBridgeBiConstraintStream<Solution_,A,B> leftParent, BavetJoinBridgeUniConstraintStream<Solution_,C> rightParent, DefaultTriJoiner<A,B,C> joiner)
-
-
Method Detail
-
guaranteesDistinct
public boolean guaranteesDistinct()
Description copied from interface:InnerTriConstraintStreamThis method will return true if the constraint stream is guaranteed to only produce distinct tuples. SeeInnerTriConstraintStream.distinct()for details.- Specified by:
guaranteesDistinctin interfaceInnerTriConstraintStream<Solution_,A,B>- Returns:
- true if the guarantee of distinct tuples is provided
-
collectActiveConstraintStreams
public void collectActiveConstraintStreams(Set<BavetAbstractConstraintStream<Solution_>> constraintStreamSet)
- Specified by:
collectActiveConstraintStreamsin classBavetAbstractConstraintStream<Solution_>
-
getTupleSource
public org.optaplanner.core.api.score.stream.ConstraintStream getTupleSource()
- Specified by:
getTupleSourcein classBavetAbstractConstraintStream<Solution_>
-
buildNode
public <Score_ extends org.optaplanner.core.api.score.Score<Score_>> void buildNode(NodeBuildHelper<Score_> buildHelper)
- Specified by:
buildNodein classBavetAbstractConstraintStream<Solution_>
-
-