samples.multicostregular.asap
Class ASAPCPModel
java.lang.Object
choco.cp.model.CPModel
samples.multicostregular.asap.ASAPCPModel
- All Implemented Interfaces:
- IPretty, Model, Serializable
public class ASAPCPModel
- extends CPModel
Created by IntelliJ IDEA.
User: julien
Mail: julien.menana{at}emn.fr
Date: Mar 3, 2009
Time: 2:17:53 PM
- See Also:
- Serialized Form
Fields inherited from class choco.cp.model.CPModel |
_iterator, clausesStore, constantVars, constraints, defDecExp, expVars, floatVars, intVars, LOGGER, nbBoolVar, properties, setVars, storedMultipleVariables |
Methods inherited from class choco.cp.model.CPModel |
addConstraint, addConstraint, addConstraint, addConstraint, addConstraints, addConstraints, addOptions, addVariable, addVariable, addVariable, addVariable, addVariables, addVariables, constraintsToString, contains, getConstantVar, getConstraint, getConstraintByType, getConstraintIterator, getConstVarIterator, getDefaultExpressionDecomposition, getExprVarIterator, getIntConstraintIterator, getIntVar, getIntVarIndex, getIntVarIndex, getIntVarIterator, getMultipleVarIterator, getNbBoolVar, getNbConstantVars, getNbConstraintByType, getNbConstraints, getNbIntVars, getNbRealVars, getNbSetVars, getNbStoredMultipleVars, getNbTotVars, getRealVar, getRealVarIterator, getSetVar, getSetVarIterator, getStoredMultipleVar, pretty, readFromFile, remove, removeConstraint, removeConstraints, removeVariable, removeVariable, removeVariable, removeVariables, remVariable, setDefaultExpressionDecomposition, solutionToString, varsToString, writeInFile, writeInFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shifts
public IntegerVariable[][] shifts
lowb
public int[][] lowb
uppb
public int[][] uppb
ASAPCPModel
public ASAPCPModel(String file)
getNbDays
public int getNbDays()
getNbEmployees
public int getNbEmployees()
getHandler
public ASAPItemHandler getHandler()
makeSoftPatternRule
public void makeSoftPatternRule(ASAPPattern pat)
instantiateMandatoryShift
public void instantiateMandatoryShift()
buildModel
public void buildModel()
getColor
public Color getColor(String s)
main
public static void main(String[] args)
Copyright © 2012. All Rights Reserved.