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

- Packages that use ToLongTriFunction
  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.tri | The `ConstraintStream` API for tri-tuples.
  org.optaplanner.core.impl.score.stream.bavet.tri |
  org.optaplanner.core.impl.score.stream.drools.tri |
  org.optaplanner.core.impl.score.stream.tri |

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

    Methods in org.optaplanner.core.api.score.stream with parameters of type ToLongTriFunction
    Modifier and Type | Method | Description
    --- | --- | ---
    `static <A,​B,​C> TriConstraintCollector<A,​B,​C,​?,​Long>` | ConstraintCollectors.`sumLong​(ToLongTriFunction<? super A,​? super B,​? super C> groupValueMapping)` |

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

    Methods in org.optaplanner.core.api.score.stream.tri with parameters of type ToLongTriFunction
    Modifier and Type | Method | Description
    --- | --- | ---
    `Constraint` | TriConstraintStream.`impactConfigurableLong​(String constraintPackage, String constraintName, ToLongTriFunction<A,​B,​C> matchWeigher)` | As defined by `TriConstraintStream.impactConfigurableLong(String, ToLongTriFunction)`.
    `default Constraint` | TriConstraintStream.`impactConfigurableLong​(String constraintName, ToLongTriFunction<A,​B,​C> matchWeigher)` | Positively or negatively impact the `Score` by the `ConstraintWeight` for each match.
    `Constraint` | TriConstraintStream.`impactLong​(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,​B,​C> matchWeigher)` | As defined by `TriConstraintStream.impactLong(String, Score, ToLongTriFunction)`.
    `default Constraint` | TriConstraintStream.`impactLong​(String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,​B,​C> matchWeigher)` | Positively or negatively impact the `Score` by the constraintWeight multiplied by the match weight.
    `Constraint` | TriConstraintStream.`penalizeConfigurableLong​(String constraintPackage, String constraintName, ToLongTriFunction<A,​B,​C> matchWeigher)` | As defined by `TriConstraintStream.penalizeConfigurableLong(String, ToLongTriFunction)`.
    `default Constraint` | TriConstraintStream.`penalizeConfigurableLong​(String constraintName, ToLongTriFunction<A,​B,​C> matchWeigher)` | Negatively impact the `Score`: subtract the `ConstraintWeight` multiplied by the match weight.
    `Constraint` | TriConstraintStream.`penalizeLong​(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,​B,​C> matchWeigher)` | As defined by `TriConstraintStream.penalizeLong(String, Score, ToLongTriFunction)`.
    `default Constraint` | TriConstraintStream.`penalizeLong​(String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,​B,​C> matchWeigher)` | Negatively impact the `Score`: subtract the constraintWeight multiplied by the match weight.
    `Constraint` | TriConstraintStream.`rewardConfigurableLong​(String constraintPackage, String constraintName, ToLongTriFunction<A,​B,​C> matchWeigher)` | As defined by `TriConstraintStream.rewardConfigurableLong(String, ToLongTriFunction)`.
    `default Constraint` | TriConstraintStream.`rewardConfigurableLong​(String constraintName, ToLongTriFunction<A,​B,​C> matchWeigher)` | Positively impact the `Score`: add the `ConstraintWeight` multiplied by the match weight.
    `Constraint` | TriConstraintStream.`rewardLong​(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,​B,​C> matchWeigher)` | As defined by `TriConstraintStream.rewardLong(String, Score, ToLongTriFunction)`.
    `default Constraint` | TriConstraintStream.`rewardLong​(String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,​B,​C> matchWeigher)` | Positively impact the `Score`: add the constraintWeight multiplied by the match weight.

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

    Methods in org.optaplanner.core.impl.score.stream.bavet.tri with parameters of type ToLongTriFunction
    Modifier and Type | Method | Description
    --- | --- | ---
    `Constraint` | BavetAbstractTriConstraintStream.`impactScoreConfigurableLong​(String constraintPackage, String constraintName, ToLongTriFunction<A,​B,​C> matchWeigher, ScoreImpactType impactType)` |
    `Constraint` | BavetAbstractTriConstraintStream.`impactScoreLong​(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,​B,​C> matchWeigher, ScoreImpactType impactType)` |

    Constructors in org.optaplanner.core.impl.score.stream.bavet.tri with parameters of type ToLongTriFunction
    Constructor | Description
    --- | ---
    `BavetScoringTriConstraintStream​(BavetConstraintFactory<Solution_> constraintFactory, BavetAbstractTriConstraintStream<Solution_,​A,​B,​C> parent, BavetConstraint<Solution_> constraint, ToLongTriFunction<A,​B,​C> longMatchWeigher)` |

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

    Methods in org.optaplanner.core.impl.score.stream.drools.tri with parameters of type ToLongTriFunction
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<org.drools.model.RuleItemBuilder<?>>` | DroolsTriCondition.`completeWithScoring​(DroolsConstraint<?> constraint, org.drools.model.Global<? extends AbstractScoreHolder<?>> scoreHolderGlobal, ToLongTriFunction<A,​B,​C> matchWeighter)` |
    `Constraint` | DroolsAbstractTriConstraintStream.`impactScoreConfigurableLong​(String constraintPackage, String constraintName, ToLongTriFunction<A,​B,​C> matchWeigher, ScoreImpactType impactType)` |
    `Constraint` | DroolsAbstractTriConstraintStream.`impactScoreLong​(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,​B,​C> matchWeigher, ScoreImpactType impactType)` |

    Constructors in org.optaplanner.core.impl.score.stream.drools.tri with parameters of type ToLongTriFunction
    Constructor | Description
    --- | ---
    `DroolsScoringTriConstraintStream​(DroolsConstraintFactory<Solution_> constraintFactory, DroolsAbstractTriConstraintStream<Solution_,​A,​B,​C> parent, ToLongTriFunction<A,​B,​C> longMatchWeigher)` |

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

    Methods in org.optaplanner.core.impl.score.stream.tri with parameters of type ToLongTriFunction
    Modifier and Type | Method | Description
    --- | --- | ---
    `default Constraint` | InnerTriConstraintStream.`impactConfigurableLong​(String constraintPackage, String constraintName, ToLongTriFunction<A,​B,​C> matchWeigher)` |
    `default Constraint` | InnerTriConstraintStream.`impactLong​(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,​B,​C> matchWeigher)` |
    `Constraint` | InnerTriConstraintStream.`impactScoreConfigurableLong​(String constraintPackage, String constraintName, ToLongTriFunction<A,​B,​C> matchWeigher, ScoreImpactType impactType)` |
    `Constraint` | InnerTriConstraintStream.`impactScoreLong​(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,​B,​C> matchWeigher, ScoreImpactType impactType)` |
    `default Constraint` | InnerTriConstraintStream.`penalizeConfigurableLong​(String constraintPackage, String constraintName, ToLongTriFunction<A,​B,​C> matchWeigher)` |
    `default Constraint` | InnerTriConstraintStream.`penalizeLong​(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,​B,​C> matchWeigher)` |
    `default Constraint` | InnerTriConstraintStream.`rewardConfigurableLong​(String constraintPackage, String constraintName, ToLongTriFunction<A,​B,​C> matchWeigher)` |
    `default Constraint` | InnerTriConstraintStream.`rewardLong​(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,​B,​C> matchWeigher)` |