choco.cp.model.managers.constraints.integer
Class ModuloManager
java.lang.Object
choco.kernel.model.constraints.ConstraintManager<IntegerVariable>
choco.cp.model.managers.IntConstraintManager
choco.cp.model.managers.constraints.integer.ModuloManager
- All Implemented Interfaces:
- ExpressionManager
public final class ModuloManager
- extends IntConstraintManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuloManager
public ModuloManager()
makeConstraint
public SConstraint makeConstraint(Solver solver,
IntegerVariable[] vars,
Object parameters,
List<String> options)
- Description copied from class:
ConstraintManager
- Build a constraint for the given solver and "model variables"
- Specified by:
makeConstraint
in class ConstraintManager<IntegerVariable>
- Parameters:
solver
- solver to build constraint invars
- array of variablesparameters
- Object defining the paramatersoptions
- set of options
- Returns:
- One SConstraint
makeNode
public INode makeNode(Solver solver,
Constraint[] cstrs,
Variable[] vars)
- Build arithm node from a IntegerExpressionVariable
- Specified by:
makeNode
in interface ExpressionManager
- Overrides:
makeNode
in class IntConstraintManager
- Parameters:
solver
- vars
- cstrs
- constraints (can be null)
- Returns:
Copyright © 2012. All Rights Reserved.