CPSolver.Variable.Interface protocol (Fixpoint v0.10.2)

Summary

Types

t()

All the types that implement this protocol.

Types

t()

@type t() :: term()

All the types that implement this protocol.

Functions

contains?(variable, value)

domain(variable)

fix(variable, value)

@spec fix(CPSolver.Variable.t() | CPSolver.Variable.View.t(), integer()) ::
  :fixed | :fail

fixed?(variable)

id(variable)

map(variable, value)

max(variable)

min(variable)

remove(variable, value)

removeAbove(variable, value)

removeBelow(variable, value)

size(variable)

update(variable, field, value)

variable(arg)