login

F.2.25 library(clp/clpfd)

#/\/2P and Q hold.
#</2X is less than Y.
#<==/2Q implies P.
#<==>/2P and Q are equivalent.
#=/2X equals Y.
#=</2X is less than or equal to Y.
#==>/2P implies Q.
#>/2X is greater than Y.
#>=/2X is greater than or equal to Y.
#\/1The reifiable constraint Q does _not_ hold.
#\//2P or Q holds.
#\=/2X is not Y.
all_different/1Vars are pairwise distinct.
all_distinct/1Like all_different/1, with stronger propagation.
automaton/3Constrain variables with a finite automaton.
automaton/8Constrain variables with a finite automaton.
chain/2Constrain variables to be a chain with respect to Relation.
circuit/1True if the list Vs of finite domain variables induces a Hamiltonian circuit.
cumulative/1Equivalent to cumulative(Tasks, [limit(1)]).
cumulative/2Tasks is a list of tasks, each of the form task(S_i, D_i, E_i, C_i, T_i).
element/3The N-th element of the list of finite domain variables Vs is V.
fd_dom/2Dom is the current domain (see in/2) of Var.
fd_inf/2Inf is the infimum of the current domain of Var.
fd_size/2Determine the size of a variable's domain.
fd_sup/2Sup is the supremum of the current domain of Var.
fd_var/1True iff Var is a CLP(FD) variable.
global_cardinality/2Global Cardinality constraint.
global_cardinality/3Global Cardinality constraint.
in/2Var is an element of Domain.
indomain/1Bind Var to all feasible values of its domain on backtracking.
ins/2The variables in the list Vars are elements of Domain.
label/1Equivalent to labeling([], Vars).
labeling/2Assign a value to each variable in Vars.
lex_chain/1Lists are lexicographically non-decreasing.
scalar_product/4Cs is a list of integers, Vs is a list of variables and integers.
serialized/2Constrain a set of intervals to a non-overlapping sequence.
sum/3The sum of elements of the list Vars is in relation Rel to Expr.
transpose/2Transpose a list of lists of the same length.
tuples_in/2Relation must be a list of lists of integers.
zcompare/3Analogous to compare/3, with finite domain variables A and B.