Class AbstractConstraintStream<Solution_>

  • All Implemented Interfaces:
    org.optaplanner.core.api.score.stream.ConstraintStream

    public abstract class AbstractConstraintStream<Solution_>
    extends Object
    implements org.optaplanner.core.api.score.stream.ConstraintStream
    • Constructor Detail

      • AbstractConstraintStream

        protected AbstractConstraintStream​(RetrievalSemantics retrievalSemantics)
    • Method Detail

      • buildConstraintWeightExtractor

        protected Function<Solution_,​org.optaplanner.core.api.score.Score<?>> buildConstraintWeightExtractor​(String constraintPackage,
                                                                                                                   String constraintName)
      • buildConstraintWeightExtractor

        protected Function<Solution_,​org.optaplanner.core.api.score.Score<?>> buildConstraintWeightExtractor​(String constraintPackage,
                                                                                                                   String constraintName,
                                                                                                                   org.optaplanner.core.api.score.Score<?> constraintWeight)
      • getConstraintFactory

        public abstract InnerConstraintFactory<Solution_,​?> getConstraintFactory()
        Specified by:
        getConstraintFactory in interface org.optaplanner.core.api.score.stream.ConstraintStream