## Uses of Interface
org.optaplanner.core.api.function.TriFunction

- Packages that use TriFunction
  Package | Description
  --- | ---
  org.optaplanner.core.api.score.stream | The `ConstraintStream` API: a way to define constraints for `Score` calculation.
  org.optaplanner.core.api.score.stream.bi | The `ConstraintStream` API for bi-tuples.
  org.optaplanner.core.api.score.stream.tri | The `ConstraintStream` API for tri-tuples.
  org.optaplanner.core.impl.score.stream.bavet.bi |
  org.optaplanner.core.impl.score.stream.bavet.tri |
  org.optaplanner.core.impl.score.stream.bi |
  org.optaplanner.core.impl.score.stream.drools.tri |
  org.optaplanner.core.impl.score.stream.quad |
  org.optaplanner.core.impl.score.stream.tri |

- - ### Uses of TriFunction in org.optaplanner.core.api.score.stream

    Methods in org.optaplanner.core.api.score.stream with parameters of type TriFunction
    Modifier and Type | Method and Description
    --- | ---
    `static <A,B,C,D,Property_> QuadJoiner<A,B,C,D>` | Joiners.`equal(TriFunction<A,B,C,Property_> leftMapping, Function<D,Property_> rightMapping)`
    `static <A,B,C,D,Property_ extends Comparable<Property_>> QuadJoiner<A,B,C,D>` | Joiners.`greaterThan(TriFunction<A,B,C,Property_> leftMapping, Function<D,Property_> rightMapping)`
    `static <A,B,C,D,Property_ extends Comparable<Property_>> QuadJoiner<A,B,C,D>` | Joiners.`greaterThanOrEqual(TriFunction<A,B,C,Property_> leftMapping, Function<D,Property_> rightMapping)`
    `static <A,B,C,D,Property_ extends Comparable<Property_>> QuadJoiner<A,B,C,D>` | Joiners.`lessThan(TriFunction<A,B,C,Property_> leftMapping, Function<D,Property_> rightMapping)`
    `static <A,B,C,D,Property_ extends Comparable<Property_>> QuadJoiner<A,B,C,D>` | Joiners.`lessThanOrEqual(TriFunction<A,B,C,Property_> leftMapping, Function<D,Property_> rightMapping)`

  - ### Uses of TriFunction in org.optaplanner.core.api.score.stream.bi

    Methods in org.optaplanner.core.api.score.stream.bi that return TriFunction
    Modifier and Type | Method and Description
    --- | ---
    `TriFunction<ResultContainer_,A,B,Runnable>` | BiConstraintCollector.`accumulator()` A lambda that extracts data from the matched facts, accumulates it in the result container and returns an undo operation for that accumulation.

  - ### Uses of TriFunction in org.optaplanner.core.api.score.stream.tri

    Methods in org.optaplanner.core.api.score.stream.tri with parameters of type TriFunction
    Modifier and Type | Method and Description
    --- | ---
    `default Constraint` | TriConstraintStream.`penalizeBigDecimal(String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)` Negatively impact the `Score`: subtract the constraintWeight multiplied by the match weight.
    `Constraint` | TriConstraintStream.`penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)` As defined by `TriConstraintStream.penalizeBigDecimal(String, Score, TriFunction)`.
    `Constraint` | TriConstraintStream.`penalizeConfigurableBigDecimal(String constraintPackage, String constraintName, TriFunction<A,B,C,BigDecimal> matchWeigher)` As defined by `TriConstraintStream.penalizeConfigurableBigDecimal(String, TriFunction)`.
    `default Constraint` | TriConstraintStream.`penalizeConfigurableBigDecimal(String constraintName, TriFunction<A,B,C,BigDecimal> matchWeigher)` Negatively impact the `Score`: subtract the `ConstraintWeight` multiplied by the match weight.
    `default Constraint` | TriConstraintStream.`rewardBigDecimal(String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)` Positively impact the `Score`: add the constraintWeight multiplied by the match weight.
    `Constraint` | TriConstraintStream.`rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)` As defined by `TriConstraintStream.rewardBigDecimal(String, Score, TriFunction)`.
    `Constraint` | TriConstraintStream.`rewardConfigurableBigDecimal(String constraintPackage, String constraintName, TriFunction<A,B,C,BigDecimal> matchWeigher)` As defined by `TriConstraintStream.rewardConfigurableBigDecimal(String, TriFunction)`.
    `default Constraint` | TriConstraintStream.`rewardConfigurableBigDecimal(String constraintName, TriFunction<A,B,C,BigDecimal> matchWeigher)` Positively impact the `Score`: add the `ConstraintWeight` multiplied by the match weight.

  - ### Uses of TriFunction in org.optaplanner.core.impl.score.stream.bavet.bi

    Constructors in org.optaplanner.core.impl.score.stream.bavet.bi with parameters of type TriFunction
    Constructor and Description
    `BavetScoringBiNode(BavetConstraintSession session, int nodeOrder, String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter)`

  - ### Uses of TriFunction in org.optaplanner.core.impl.score.stream.bavet.tri

    Methods in org.optaplanner.core.impl.score.stream.bavet.tri with parameters of type TriFunction
    Modifier and Type | Method and Description
    --- | ---
    `Constraint` | BavetAbstractTriConstraintStream.`impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher, boolean positive)`
    `Constraint` | BavetAbstractTriConstraintStream.`impactScoreConfigurableBigDecimal(String constraintPackage, String constraintName, TriFunction<A,B,C,BigDecimal> matchWeigher, boolean positive)`

    Constructors in org.optaplanner.core.impl.score.stream.bavet.tri with parameters of type TriFunction
    Constructor and Description
    `BavetScoringTriConstraintStream(BavetConstraintFactory<Solution_> constraintFactory, BavetAbstractTriConstraintStream<Solution_,A,B,C> parent, BavetConstraint<Solution_> constraint, TriFunction<A,B,C,BigDecimal> bigDecimalMatchWeigher)`

  - ### Uses of TriFunction in org.optaplanner.core.impl.score.stream.bi

    Methods in org.optaplanner.core.impl.score.stream.bi that return TriFunction
    Modifier and Type | Method and Description
    --- | ---
    `TriFunction<ResultContainer_,A,B,Runnable>` | DefaultBiConstraintCollector.`accumulator()`

    Constructors in org.optaplanner.core.impl.score.stream.bi with parameters of type TriFunction
    Constructor and Description
    `DefaultBiConstraintCollector(Supplier<ResultContainer_> supplier, TriFunction<ResultContainer_,A,B,Runnable> accumulator, Function<ResultContainer_,Result_> finisher)`

  - ### Uses of TriFunction in org.optaplanner.core.impl.score.stream.drools.tri

    Methods in org.optaplanner.core.impl.score.stream.drools.tri with parameters of type TriFunction
    Modifier and Type | Method and Description
    --- | ---
    `List<org.drools.model.RuleItemBuilder<?>>` | DroolsTriCondition.`completeWithScoring(org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal, TriFunction<A,B,C,BigDecimal> matchWeighter)`
    `Constraint` | DroolsAbstractTriConstraintStream.`impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher, boolean positive)`
    `Constraint` | DroolsAbstractTriConstraintStream.`impactScoreConfigurableBigDecimal(String constraintPackage, String constraintName, TriFunction<A,B,C,BigDecimal> matchWeigher, boolean positive)`

    Constructors in org.optaplanner.core.impl.score.stream.drools.tri with parameters of type TriFunction
    Constructor and Description
    `DroolsScoringTriConstraintStream(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,A,B,C> parent, TriFunction<A,B,C,BigDecimal> bigDecimalMatchWeigher)`

  - ### Uses of TriFunction in org.optaplanner.core.impl.score.stream.quad

    Methods in org.optaplanner.core.impl.score.stream.quad that return TriFunction
    Modifier and Type | Method and Description
    --- | ---
    `TriFunction<A,B,C,Object[]>` | SingleQuadJoiner.`getLeftCombinedMapping()`
    `TriFunction<A,B,C,Object[]>` | NoneQuadJoiner.`getLeftCombinedMapping()`
    `TriFunction<A,B,C,Object[]>` | CompositeQuadJoiner.`getLeftCombinedMapping()`
    `abstract TriFunction<A,B,C,Object[]>` | AbstractQuadJoiner.`getLeftCombinedMapping()`
    `TriFunction<A,B,C,?>` | SingleQuadJoiner.`getLeftMapping()`
    `TriFunction<A,B,C,Object>` | SingleQuadJoiner.`getLeftMapping(int joinerId)`
    `TriFunction<A,B,C,Object>` | NoneQuadJoiner.`getLeftMapping(int joinerId)`
    `TriFunction<A,B,C,Object>` | CompositeQuadJoiner.`getLeftMapping(int joinerId)`
    `abstract TriFunction<A,B,C,Object>` | AbstractQuadJoiner.`getLeftMapping(int joinerId)`

    Constructors in org.optaplanner.core.impl.score.stream.quad with parameters of type TriFunction
    Constructor and Description
    `SingleQuadJoiner(TriFunction<A,B,C,?> leftMapping, JoinerType joinerType, Function<D,?> rightMapping)`

  - ### Uses of TriFunction in org.optaplanner.core.impl.score.stream.tri

    Methods in org.optaplanner.core.impl.score.stream.tri with parameters of type TriFunction
    Modifier and Type | Method and Description
    --- | ---
    `Constraint` | InnerTriConstraintStream.`impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher, boolean positive)`
    `Constraint` | InnerTriConstraintStream.`impactScoreConfigurableBigDecimal(String constraintPackage, String constraintName, TriFunction<A,B,C,BigDecimal> matchWeigher, boolean positive)`
    `default Constraint` | InnerTriConstraintStream.`penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)`
    `default Constraint` | InnerTriConstraintStream.`penalizeConfigurableBigDecimal(String constraintPackage, String constraintName, TriFunction<A,B,C,BigDecimal> matchWeigher)`
    `default Constraint` | InnerTriConstraintStream.`rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)`
    `default Constraint` | InnerTriConstraintStream.`rewardConfigurableBigDecimal(String constraintPackage, String constraintName, TriFunction<A,B,C,BigDecimal> matchWeigher)`

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