CPSolver.Propagator.Sum (Fixpoint v0.8.5)

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.new/1.

@spec new(Common.variable_or_view(), [Common.variable_or_view()]) ::
  CPSolver.Propagator.t()
Link to this function

update(propagator, changes)

Callback implementation for CPSolver.Propagator.update/2.