Class BiConstraintBuilderImpl<A,B,Score_ extends org.optaplanner.core.api.score.Score<Score_>>

java.lang.Object
org.optaplanner.constraint.streams.common.AbstractConstraintBuilder<Score_>
org.optaplanner.constraint.streams.common.bi.BiConstraintBuilderImpl<A,B,Score_>
All Implemented Interfaces:
org.optaplanner.core.api.score.stream.bi.BiConstraintBuilder<A,B,Score_>, org.optaplanner.core.api.score.stream.ConstraintBuilder

public final class BiConstraintBuilderImpl<A,B,Score_ extends org.optaplanner.core.api.score.Score<Score_>> extends AbstractConstraintBuilder<Score_> implements org.optaplanner.core.api.score.stream.bi.BiConstraintBuilder<A,B,Score_>
  • Constructor Details

  • Method Details

    • getJustificationMapping

      protected org.optaplanner.core.api.function.TriFunction<A,B,Score_,org.optaplanner.core.api.score.stream.ConstraintJustification> getJustificationMapping()
      Specified by:
      getJustificationMapping in class AbstractConstraintBuilder<Score_ extends org.optaplanner.core.api.score.Score<Score_>>
    • justifyWith

      public <ConstraintJustification_ extends org.optaplanner.core.api.score.stream.ConstraintJustification> org.optaplanner.core.api.score.stream.bi.BiConstraintBuilder<A,B,Score_> justifyWith(org.optaplanner.core.api.function.TriFunction<A,B,Score_,ConstraintJustification_> justificationMapping)
      Specified by:
      justifyWith in interface org.optaplanner.core.api.score.stream.bi.BiConstraintBuilder<A,B,Score_ extends org.optaplanner.core.api.score.Score<Score_>>
    • getIndictedObjectsMapping

      protected BiFunction<A,B,Collection<Object>> getIndictedObjectsMapping()
      Specified by:
      getIndictedObjectsMapping in class AbstractConstraintBuilder<Score_ extends org.optaplanner.core.api.score.Score<Score_>>
    • indictWith

      public org.optaplanner.core.api.score.stream.bi.BiConstraintBuilder<A,B,Score_> indictWith(BiFunction<A,B,Collection<Object>> indictedObjectsMapping)
      Specified by:
      indictWith in interface org.optaplanner.core.api.score.stream.bi.BiConstraintBuilder<A,B,Score_ extends org.optaplanner.core.api.score.Score<Score_>>