CPSolver.Variable behaviour (Fixpoint v0.13.2)

Link to this section Summary

Link to this section Types

Specs

t() :: %CPSolver.Variable{
  domain: Domain.t(),
  id: reference(),
  index: integer(),
  initial_size: integer(),
  name: term(),
  propagate_on: Propagator.propagator_event(),
  store: term()
}

Link to this section Callbacks

Link to this callback

new(values, opts)

Specs

new(values :: Enum.t(), opts :: Keyword.t()) :: t()

Link to this section Functions

Link to this function

contains?(variable, value)

Link to this function

domain(variable)

Link to this function

fix(variable, value)

Link to this function

fixed?(variable)

Link to this function

iterator(variable, opts \\ [])

Link to this function

remove(variable, value)

Link to this function

removeAbove(variable, value)

Link to this function

removeBelow(variable, value)