choco.kernel.solver.constraints.global.scheduling
Class ResourceParameters

java.lang.Object
  extended by choco.kernel.solver.constraints.global.scheduling.ResourceParameters
All Implemented Interfaces:
IResourceParameters, Serializable

public final class ResourceParameters
extends Object
implements IResourceParameters

See Also:
Serialized Form

Constructor Summary
ResourceParameters(String name, TaskVariable[] tasks, IntegerVariable[] usages, IntegerVariable uppBound)
           
 
Method Summary
 int getCapaOffset()
           
 int getConsOffset()
           
 int getHeightsOffset()
           
 int getNbOptionalTasks()
           
 int getNbRegularTasks()
           
 int getNbTasks()
           
 String getRscName()
           
 int getUsagesOffset()
           
 boolean isAlternative()
           
 boolean isHorizonDefined()
           
 boolean isRegular()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResourceParameters

public ResourceParameters(String name,
                          TaskVariable[] tasks,
                          IntegerVariable[] usages,
                          IntegerVariable uppBound)
Method Detail

isRegular

public boolean isRegular()

isAlternative

public boolean isAlternative()

getNbOptionalTasks

public int getNbOptionalTasks()
Specified by:
getNbOptionalTasks in interface IResourceParameters

getNbRegularTasks

public int getNbRegularTasks()
Specified by:
getNbRegularTasks in interface IResourceParameters

getNbTasks

public int getNbTasks()
Specified by:
getNbTasks in interface IResourceParameters

getRscName

public String getRscName()
Specified by:
getRscName in interface IResourceParameters

isHorizonDefined

public boolean isHorizonDefined()

toString

public String toString()
Overrides:
toString in class Object

getUsagesOffset

public final int getUsagesOffset()

getHeightsOffset

public final int getHeightsOffset()

getConsOffset

public final int getConsOffset()

getCapaOffset

public final int getCapaOffset()


Copyright © 2012. All Rights Reserved.