choco.cp.model.managers.operators
Class PowerManager

java.lang.Object
  extended by choco.kernel.model.constraints.ConstraintManager<RealVariable>
      extended by choco.cp.model.managers.RealConstraintManager
          extended by choco.cp.model.managers.operators.PowerManager
All Implemented Interfaces:
ExpressionManager

public final class PowerManager
extends RealConstraintManager
implements ExpressionManager


Field Summary
 
Fields inherited from interface choco.kernel.model.constraints.ExpressionManager
LOGGER
 
Constructor Summary
PowerManager()
           
 
Method Summary
 SConstraint makeConstraint(Solver solver, RealVariable[] variables, Object parameters, List<String> options)
          Build a constraint for the given solver and "model variables"
 INode makeNode(Solver solver, Constraint[] cstrs, Variable[] vars)
          Build arithm node from a IntegerExpressionVariable
 RealExp makeRealExpression(Solver solver, Variable... vars)
          Build a real expression
 
Methods inherited from class choco.cp.model.managers.RealConstraintManager
getFavoriteDomains, getRealExp, makeConstraintAndOpposite
 
Methods inherited from class choco.kernel.model.constraints.ConstraintManager
checkParameter, fail, fail, getACFavoriteIntDomains, getBCFavoriteIntDomains
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerManager

public PowerManager()
Method Detail

makeConstraint

public SConstraint makeConstraint(Solver solver,
                                  RealVariable[] variables,
                                  Object parameters,
                                  List<String> options)
Build a constraint for the given solver and "model variables"

Specified by:
makeConstraint in class ConstraintManager<RealVariable>
Parameters:
solver -
variables -
parameters - : a "hook" to attach any kind of parameters to constraints
options -
Returns:

makeNode

public INode makeNode(Solver solver,
                      Constraint[] cstrs,
                      Variable[] vars)
Build arithm node from a IntegerExpressionVariable

Specified by:
makeNode in interface ExpressionManager
Parameters:
solver -
vars -
cstrs - constraints
Returns:

makeRealExpression

public RealExp makeRealExpression(Solver solver,
                                  Variable... vars)
Build a real expression

Specified by:
makeRealExpression in class RealConstraintManager
Parameters:
solver -
vars -
Returns:


Copyright © 2012. All Rights Reserved.