csp v0.1.0 Csp.Constraints
Defines commonly used constraints.
Link to this section Summary
Functions
Creates a list of binary constraints that define that all variables
in the variables
list are different.
Link to this section Functions
Link to this function
all_different_constraints(variables)
Specs
all_different_constraints([Csp.variable()]) :: [Csp.Constraint.t()]
Creates a list of binary constraints that define that all variables
in the variables
list are different.