org.optaplanner.core.impl.score.stream.uni

## Interface InnerUniConstraintStream<A>

- All Superinterfaces:
    ConstraintStream, UniConstraintStream<A>
  All Known Implementing Classes:
    BavetAbstractUniConstraintStream, BavetFilterUniConstraintStream, BavetFromUniConstraintStream, BavetGroupBridgeUniConstraintStream, BavetJoinBridgeUniConstraintStream, BavetScoringUniConstraintStream, DroolsAbstractUniConstraintStream, DroolsExistsUniConstraintStream, DroolsFilterUniConstraintStream, DroolsFromUniConstraintStream, DroolsGroupingUniConstraintStream, DroolsScoringUniConstraintStream

      public interface InnerUniConstraintStream<A>
      extends UniConstraintStream<A>

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `Constraint` | `impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher, boolean positive)`
    `Constraint` | `impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher, boolean positive)`
    `Constraint` | `impactScoreConfigurable(String constraintPackage, String constraintName, ToIntFunction<A> matchWeigher, boolean positive)`
    `Constraint` | `impactScoreConfigurableBigDecimal(String constraintPackage, String constraintName, Function<A,BigDecimal> matchWeigher, boolean positive)`
    `Constraint` | `impactScoreConfigurableLong(String constraintPackage, String constraintName, ToLongFunction<A> matchWeigher, boolean positive)`
    `Constraint` | `impactScoreLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher, boolean positive)`
    `default Constraint` | `penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher)` As defined by `UniConstraintStream.penalize(String, Score, ToIntFunction)`.
    `default Constraint` | `penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher)` As defined by `UniConstraintStream.penalizeBigDecimal(String, Score, Function)`.
    `default Constraint` | `penalizeConfigurable(String constraintPackage, String constraintName, ToIntFunction<A> matchWeigher)` As defined by `UniConstraintStream.penalizeConfigurable(String, ToIntFunction)`.
    `default Constraint` | `penalizeConfigurableBigDecimal(String constraintPackage, String constraintName, Function<A,BigDecimal> matchWeigher)` As defined by `UniConstraintStream.penalizeConfigurableBigDecimal(String, Function)`.
    `default Constraint` | `penalizeConfigurableLong(String constraintPackage, String constraintName, ToLongFunction<A> matchWeigher)` As defined by `UniConstraintStream.penalizeConfigurableLong(String, ToLongFunction)`.
    `default Constraint` | `penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher)` As defined by `UniConstraintStream.penalizeLong(String, Score, ToLongFunction)`.
    `default Constraint` | `reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher)` As defined by `UniConstraintStream.reward(String, Score, ToIntFunction)`.
    `default Constraint` | `rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher)` As defined by `UniConstraintStream.rewardBigDecimal(String, Score, Function)`.
    `default Constraint` | `rewardConfigurable(String constraintPackage, String constraintName, ToIntFunction<A> matchWeigher)` As defined by `UniConstraintStream.rewardConfigurable(String, ToIntFunction)`.
    `default Constraint` | `rewardConfigurableBigDecimal(String constraintPackage, String constraintName, Function<A,BigDecimal> matchWeigher)` As defined by `UniConstraintStream.rewardConfigurableBigDecimal(String, Function)`.
    `default Constraint` | `rewardConfigurableLong(String constraintPackage, String constraintName, ToLongFunction<A> matchWeigher)` As defined by `UniConstraintStream.rewardConfigurableLong(String, ToLongFunction)`.
    `default Constraint` | `rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher)` As defined by `UniConstraintStream.rewardLong(String, Score, ToLongFunction)`.

    - ### Methods inherited from interface org.optaplanner.core.api.score.stream.uni.UniConstraintStream

      `filter, groupBy, groupBy, groupBy, groupBy, groupBy, groupBy, ifExists, ifExists, ifExists, ifExists, ifExists, ifExistsOther, ifExistsOther, ifExistsOther, ifExistsOther, ifExistsOther, ifExistsOther, ifNotExists, ifNotExists, ifNotExists, ifNotExists, ifNotExists, ifNotExistsOther, ifNotExistsOther, ifNotExistsOther, ifNotExistsOther, ifNotExistsOther, ifNotExistsOther, join, join, join, join, join, join, join, join, penalize, penalizeBigDecimal, penalizeConfigurable, penalizeConfigurableBigDecimal, penalizeConfigurableLong, penalizeLong, reward, rewardBigDecimal, rewardConfigurable, rewardConfigurableBigDecimal, rewardConfigurableLong, rewardLong`

    - ### Methods inherited from interface org.optaplanner.core.api.score.stream.ConstraintStream

      `getConstraintFactory, penalize, penalize, penalizeConfigurable, penalizeConfigurable, reward, reward, rewardConfigurable, rewardConfigurable`

- - ### Method Detail

    - #### penalize

          default Constraint penalize(String constraintPackage,
                                      String constraintName,
                                      Score<?> constraintWeight,
                                      ToIntFunction<A> matchWeigher)

      Description copied from interface: `UniConstraintStream`
      As defined by `UniConstraintStream.penalize(String, Score, ToIntFunction)`.
      Specified by:
        `penalize` in interface `UniConstraintStream<A>`
      Parameters:
        `constraintPackage` - never null
        `constraintName` - never null
        `constraintWeight` - never null
        `matchWeigher` - never null
      Returns:
        never null

    - #### penalizeLong

          default Constraint penalizeLong(String constraintPackage,
                                          String constraintName,
                                          Score<?> constraintWeight,
                                          ToLongFunction<A> matchWeigher)

      Description copied from interface: `UniConstraintStream`
      As defined by `UniConstraintStream.penalizeLong(String, Score, ToLongFunction)`.
      Specified by:
        `penalizeLong` in interface `UniConstraintStream<A>`
      Parameters:
        `constraintPackage` - never null
        `constraintName` - never null
        `constraintWeight` - never null
        `matchWeigher` - never null
      Returns:
        never null

    - #### penalizeBigDecimal

          default Constraint penalizeBigDecimal(String constraintPackage,
                                                String constraintName,
                                                Score<?> constraintWeight,
                                                Function<A,BigDecimal> matchWeigher)

      Description copied from interface: `UniConstraintStream`
      As defined by `UniConstraintStream.penalizeBigDecimal(String, Score, Function)`.
      Specified by:
        `penalizeBigDecimal` in interface `UniConstraintStream<A>`
      Parameters:
        `constraintPackage` - never null
        `constraintName` - never null
        `constraintWeight` - never null
        `matchWeigher` - never null
      Returns:
        never null

    - #### penalizeConfigurable

          default Constraint penalizeConfigurable(String constraintPackage,
                                                  String constraintName,
                                                  ToIntFunction<A> matchWeigher)

      Description copied from interface: `UniConstraintStream`
      As defined by `UniConstraintStream.penalizeConfigurable(String, ToIntFunction)`.
      Specified by:
        `penalizeConfigurable` in interface `UniConstraintStream<A>`
      Parameters:
        `constraintPackage` - never null
        `constraintName` - never null
        `matchWeigher` - never null
      Returns:
        never null

    - #### penalizeConfigurableLong

          default Constraint penalizeConfigurableLong(String constraintPackage,
                                                      String constraintName,
                                                      ToLongFunction<A> matchWeigher)

      Description copied from interface: `UniConstraintStream`
      As defined by `UniConstraintStream.penalizeConfigurableLong(String, ToLongFunction)`.
      Specified by:
        `penalizeConfigurableLong` in interface `UniConstraintStream<A>`
      Parameters:
        `constraintPackage` - never null
        `constraintName` - never null
        `matchWeigher` - never null
      Returns:
        never null

    - #### penalizeConfigurableBigDecimal

          default Constraint penalizeConfigurableBigDecimal(String constraintPackage,
                                                            String constraintName,
                                                            Function<A,BigDecimal> matchWeigher)

      Description copied from interface: `UniConstraintStream`
      As defined by `UniConstraintStream.penalizeConfigurableBigDecimal(String, Function)`.
      Specified by:
        `penalizeConfigurableBigDecimal` in interface `UniConstraintStream<A>`
      Parameters:
        `constraintPackage` - never null
        `constraintName` - never null
        `matchWeigher` - never null
      Returns:
        never null

    - #### reward

          default Constraint reward(String constraintPackage,
                                    String constraintName,
                                    Score<?> constraintWeight,
                                    ToIntFunction<A> matchWeigher)

      Description copied from interface: `UniConstraintStream`
      As defined by `UniConstraintStream.reward(String, Score, ToIntFunction)`.
      Specified by:
        `reward` in interface `UniConstraintStream<A>`
      Parameters:
        `constraintPackage` - never null
        `constraintName` - never null
        `matchWeigher` - never null
      Returns:
        never null

    - #### rewardLong

          default Constraint rewardLong(String constraintPackage,
                                        String constraintName,
                                        Score<?> constraintWeight,
                                        ToLongFunction<A> matchWeigher)

      Description copied from interface: `UniConstraintStream`
      As defined by `UniConstraintStream.rewardLong(String, Score, ToLongFunction)`.
      Specified by:
        `rewardLong` in interface `UniConstraintStream<A>`
      Parameters:
        `constraintPackage` - never null
        `constraintName` - never null
        `matchWeigher` - never null
      Returns:
        never null

    - #### rewardBigDecimal

          default Constraint rewardBigDecimal(String constraintPackage,
                                              String constraintName,
                                              Score<?> constraintWeight,
                                              Function<A,BigDecimal> matchWeigher)

      Description copied from interface: `UniConstraintStream`
      As defined by `UniConstraintStream.rewardBigDecimal(String, Score, Function)`.
      Specified by:
        `rewardBigDecimal` in interface `UniConstraintStream<A>`
      Parameters:
        `constraintPackage` - never null
        `constraintName` - never null
        `matchWeigher` - never null
      Returns:
        never null

    - #### rewardConfigurable

          default Constraint rewardConfigurable(String constraintPackage,
                                                String constraintName,
                                                ToIntFunction<A> matchWeigher)

      Description copied from interface: `UniConstraintStream`
      As defined by `UniConstraintStream.rewardConfigurable(String, ToIntFunction)`.
      Specified by:
        `rewardConfigurable` in interface `UniConstraintStream<A>`
      Parameters:
        `constraintPackage` - never null
        `constraintName` - never null
        `matchWeigher` - never null
      Returns:
        never null

    - #### rewardConfigurableLong

          default Constraint rewardConfigurableLong(String constraintPackage,
                                                    String constraintName,
                                                    ToLongFunction<A> matchWeigher)

      Description copied from interface: `UniConstraintStream`
      As defined by `UniConstraintStream.rewardConfigurableLong(String, ToLongFunction)`.
      Specified by:
        `rewardConfigurableLong` in interface `UniConstraintStream<A>`
      Parameters:
        `constraintPackage` - never null
        `constraintName` - never null
        `matchWeigher` - never null
      Returns:
        never null

    - #### rewardConfigurableBigDecimal

          default Constraint rewardConfigurableBigDecimal(String constraintPackage,
                                                          String constraintName,
                                                          Function<A,BigDecimal> matchWeigher)

      Description copied from interface: `UniConstraintStream`
      As defined by `UniConstraintStream.rewardConfigurableBigDecimal(String, Function)`.
      Specified by:
        `rewardConfigurableBigDecimal` in interface `UniConstraintStream<A>`
      Parameters:
        `constraintPackage` - never null
        `constraintName` - never null
        `matchWeigher` - never null
      Returns:
        never null

    - #### impactScore

          Constraint impactScore(String constraintPackage,
                                 String constraintName,
                                 Score<?> constraintWeight,
                                 ToIntFunction<A> matchWeigher,
                                 boolean positive)

    - #### impactScoreLong

          Constraint impactScoreLong(String constraintPackage,
                                     String constraintName,
                                     Score<?> constraintWeight,
                                     ToLongFunction<A> matchWeigher,
                                     boolean positive)

    - #### impactScoreBigDecimal

          Constraint impactScoreBigDecimal(String constraintPackage,
                                           String constraintName,
                                           Score<?> constraintWeight,
                                           Function<A,BigDecimal> matchWeigher,
                                           boolean positive)

    - #### impactScoreConfigurable

          Constraint impactScoreConfigurable(String constraintPackage,
                                             String constraintName,
                                             ToIntFunction<A> matchWeigher,
                                             boolean positive)

    - #### impactScoreConfigurableLong

          Constraint impactScoreConfigurableLong(String constraintPackage,
                                                 String constraintName,
                                                 ToLongFunction<A> matchWeigher,
                                                 boolean positive)

    - #### impactScoreConfigurableBigDecimal

          Constraint impactScoreConfigurableBigDecimal(String constraintPackage,
                                                       String constraintName,
                                                       Function<A,BigDecimal> matchWeigher,
                                                       boolean positive)

Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.