CPSolver.Variable behaviour (Fixpoint v0.1.3)

Summary

Types

@type t() :: %CPSolver.Variable{
  domain: Domain.t(),
  id: reference(),
  name: String.t(),
  store: term()
}

Callbacks

Link to this callback

new(values, opts)

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

Functions

Link to this function

bind(variable, store)

Link to this function

bind_variables(store, variables)

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

publish(variable, message)

Link to this function

remove(variable, value)

Link to this function

removeAbove(variable, value)

Link to this function

removeBelow(variable, value)

Link to this function

set_store(variable, store)

Link to this function

subscribe(pid, variable)

Link to this function

subscribers(variable)

Link to this function

unsubscribe(subscriber, var)