clp

Prolog files

clpb.pl  -- CLP(B): Constraint Logic Programming over Boolean VariablesShow source
labeling/1Enumerate concrete solutions.Source
random_labeling/2Select a single random solution.Source
sat/1True iff Expr is a satisfiable Boolean expression.Source
sat_count/2Count the number of admissible assignments.Source
taut/2Tautology check.Source
weighted_maximum/3Enumerate weighted optima over admissible assignments.Source
clpfd.pl  -- CLP(FD): Constraint Logic Programming over Finite DomainsShow source
#/\/2P and Q hold.Source
#</2The arithmetic expression X is less than Y.Source
#<==/2Q implies P.Source
#<==>/2P and Q are equivalent.Source
#=/2The arithmetic expression X equals Y.Source
#=</2The arithmetic expression X is less than or equal to Y.Source
#==>/2P implies Q.Source
#>/2Same as Y #< X.Source
#>=/2Same as Y #=< X.Source
#\/1Q does not hold.Source
#\/2Either P holds or Q holds, but not both.Source
#\//2P or Q holds.Source
#\=/2The arithmetic expressions X and Y evaluate to distinct integers.Source
all_different/1Like all_distinct/1, but with weaker propagation.Source
all_distinct/1True iff Vars are pairwise distinct.Source
automaton/3Describes a list of finite domain variables with a finite automaton.Source
automaton/8Describes a list of finite domain variables with a finite automaton.Source
chain/2Zs form a chain with respect to Relation.Source
circuit/1True iff the list Vs of finite domain variables induces a Hamiltonian circuit.Source
cumulative/1Equivalent to cumulative(Tasks, [limit(1)]).Source
cumulative/2Schedule with a limited resource.Source
disjoint2/1True iff Rectangles are not overlapping.Source
element/3The N-th element of the list of finite domain variables Vs is V.Source
fd_dom/2Dom is the current domain (see in/2) of Var.Source
fd_inf/2Inf is the infimum of the current domain of Var.Source
fd_size/2Reflect the current size of a domain.Source
fd_sup/2Sup is the supremum of the current domain of Var.Source
fd_var/1True iff Var is a CLP(FD) variable.Source
global_cardinality/2Global Cardinality constraint.Source
global_cardinality/3Global Cardinality constraint.Source
in/2Var is an element of Domain.Source
indomain/1Bind Var to all feasible values of its domain on backtracking.Source
ins/2The variables in the list Vars are elements of Domain.Source
label/1Equivalent to labeling([], Vars).Source
labeling/2Assign a value to each variable in Vars.Source
lex_chain/1Lists are lexicographically non-decreasing.Source
scalar_product/4True iff the scalar product of Cs and Vs is in relation Rel to Expr.Source
serialized/2Describes a set of non-overlapping tasks.Source
sum/3The sum of elements of the list Vars is in relation Rel to Expr.Source
transpose/2Transpose a list of lists of the same length.Source
tuples_in/2True iff all Tuples are elements of Relation.Source
zcompare/3Analogous to compare/3, with finite domain variables A and B.Source