samples.multicostregular.asap
Class ASAPCPModel

java.lang.Object
  extended by choco.cp.model.CPModel
      extended by 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

Field Summary
 int[][] lowb
           
 IntegerVariable[][] shifts
           
 int[][] uppb
           
 
Fields inherited from class choco.cp.model.CPModel
_iterator, clausesStore, constantVars, constraints, defDecExp, expVars, floatVars, intVars, LOGGER, nbBoolVar, properties, setVars, storedMultipleVariables
 
Constructor Summary
ASAPCPModel(String file)
           
 
Method Summary
 void buildModel()
           
 Color getColor(String s)
           
 ASAPItemHandler getHandler()
           
 int getNbDays()
           
 int getNbEmployees()
           
 void instantiateMandatoryShift()
           
static void main(String[] args)
           
 void makeSoftPatternRule(ASAPPattern pat)
           
 
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
 

Field Detail

shifts

public IntegerVariable[][] shifts

lowb

public int[][] lowb

uppb

public int[][] uppb
Constructor Detail

ASAPCPModel

public ASAPCPModel(String file)
Method Detail

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.