Class BavetAbstractConstraintStream<Solution_>

    • Constructor Detail

      • BavetAbstractConstraintStream

        public BavetAbstractConstraintStream​(BavetConstraintFactory<Solution_> constraintFactory,
                                             org.optaplanner.constraint.streams.common.RetrievalSemantics retrievalSemantics)
    • Method Detail

      • buildConstraint

        protected org.optaplanner.core.api.score.stream.Constraint buildConstraint​(String constraintPackage,
                                                                                   String constraintName,
                                                                                   org.optaplanner.core.api.score.Score<?> constraintWeight,
                                                                                   org.optaplanner.constraint.streams.common.ScoreImpactType impactType,
                                                                                   Object justificationFunction,
                                                                                   Object indictedObjectsMapping,
                                                                                   BavetScoringConstraintStream<Solution_> stream)
      • getTupleSource

        public abstract org.optaplanner.core.api.score.stream.ConstraintStream getTupleSource()
      • buildNode

        public abstract <Score_ extends org.optaplanner.core.api.score.Score<Score_>> void buildNode​(NodeBuildHelper<Score_> buildHelper)
      • assertBavetUniConstraintStream

        protected <A> BavetAbstractUniConstraintStream<Solution_,​A> assertBavetUniConstraintStream​(org.optaplanner.core.api.score.stream.uni.UniConstraintStream<A> otherStream)
      • getConstraintFactory

        public BavetConstraintFactory<Solution_> getConstraintFactory()
        Specified by:
        getConstraintFactory in interface org.optaplanner.core.api.score.stream.ConstraintStream
        Specified by:
        getConstraintFactory in class org.optaplanner.constraint.streams.common.AbstractConstraintStream<Solution_>