CPSolver.Propagator.Sum (Fixpoint v0.8.37)
The propagator for Sum constraint. Sum(y, x) constrains y to be a sum of variables in the list x.
Summary
Functions
Callback implementation for CPSolver.Propagator.bind/3
.
Callback implementation for CPSolver.Propagator.entailed?/2
.
Callback implementation for CPSolver.Propagator.failed?/2
.
Callback implementation for CPSolver.Propagator.filter/3
.
Callback implementation for CPSolver.Propagator.reset/2
.
Callback implementation for CPSolver.Propagator.reset/3
.
Functions
bind(propagator, source, var_field)
Callback implementation for CPSolver.Propagator.bind/3
.
entailed?(args, propagator_state)
Callback implementation for CPSolver.Propagator.entailed?/2
.
failed?(args, propagator_state)
Callback implementation for CPSolver.Propagator.failed?/2
.
filter(args, propagator_state, incoming_changes)
Callback implementation for CPSolver.Propagator.filter/3
.
new(args)
new(y, x)
@spec new(Common.variable_or_view(), [Common.variable_or_view()]) ::
CPSolver.Propagator.t()
reset(args, state)
Callback implementation for CPSolver.Propagator.reset/2
.
reset(args, state, opts)
Callback implementation for CPSolver.Propagator.reset/3
.