CPSolver.Propagator.Element2D (Fixpoint v0.10.2)

The propagator for Element2D constraint. array2d[row_index][col_index] = value

Summary

Functions

arguments(args)

Callback implementation for CPSolver.Propagator.arguments/1.

bind(propagator, source, var_field)

Callback implementation for CPSolver.Propagator.bind/3.

build_state(array2d, row_index, col_index, value, num_rows, num_cols)

entailed?(args, propagator_state)

Callback implementation for CPSolver.Propagator.entailed?/2.

failed?(args, propagator_state)

Callback implementation for CPSolver.Propagator.failed?/2.

filter_impl(args, state, changes)

new(args)

new(array2d, row_index, col_index, value)

reset(args, state)

Callback implementation for CPSolver.Propagator.reset/2.

reset(args, state, opts)

Callback implementation for CPSolver.Propagator.reset/3.