Package ai.timefold.solver.core.api.score.stream
package ai.timefold.solver.core.api.score.stream
-
ClassDescriptionThis represents a single constraint in the
ConstraintStreamAPI that impacts theScore.Creates anUniConstraintCollector,BiConstraintCollector, ... instance for use inUniConstraintStream.groupBy(Function, UniConstraintCollector), ...The factory to create everyConstraintStream(for example withConstraintFactory.forEach(Class)) which ends in aConstraintreturned byConstraintProvider.defineConstraints(ConstraintFactory).Marker interface for constraint justifications.Provides information about the known constraints.Used by Constraint Streams'Scorecalculation.Deprecated, for removal: This API element is subject to removal in a future version.There is only one implementation.Default implementation ofConstraintJustification, returned byConstraintMatch.getJustification()unless the user defined a custom justification mapping.Creates anBiJoiner,TriJoiner, ... instance for use inUniConstraintStream.join(Class, BiJoiner), ...