choco.kernel.model.constraints
Interface Constraint

All Superinterfaces:
IFindManager, IIndex, IOptions, IPretty, IVariableArray
All Known Implementing Classes:
AbstractConstraint, ComponentConstraint, ComponentConstraintWithSubConstraints, MetaConstraint, MetaTaskConstraint, TemporalConstraint

public interface Constraint
extends IPretty, IIndex, IVariableArray, IFindManager, IOptions


Field Summary
static Logger LOGGER
           
 
Method Summary
 ConstraintType getConstraintType()
           
 ExpressionManager getExpressionManager()
          Return the constraint manager
 int[] getFavoriteDomains()
           
 String getName()
           
 
Methods inherited from interface choco.kernel.common.IIndex
getIndex
 
Methods inherited from interface choco.kernel.model.IVariableArray
extractVariables, getNbVars, getVariable, getVariableIterator, getVariables, replaceBy
 
Methods inherited from interface choco.IPretty
pretty
 
Methods inherited from interface choco.kernel.model.IFindManager
findManager
 
Methods inherited from interface choco.kernel.model.IOptions
addOption, addOptions, addOptions, addOptions, addOptions, containsOption, getOptions
 

Field Detail

LOGGER

static final Logger LOGGER
Method Detail

getConstraintType

ConstraintType getConstraintType()

getName

String getName()

getFavoriteDomains

int[] getFavoriteDomains()
Returns:
a list of domains accepted by the constraint and sorted by order of preference

getExpressionManager

ExpressionManager getExpressionManager()
Return the constraint manager

Returns:
constraint manager


Copyright © 2012. All Rights Reserved.