Class IloUnaryResource
Definition file: ilsched/ilounary.h
Include file: <ilsched/iloscheduler.h>
Unary Resource.
An instance of the class IloUnaryResource
represents a
resource with capacity one.
See Also:
IloDiscreteResource, IloEnforcementLevel, IloResourceConstraint, IloTransitionCost
Method Summary |
---|
public IloUnaryResourceI * | getImpl() const |
Inherited Methods from IloDiscreteResource |
---|
getCapacityMax, getCapacityMaxMax, getCapacityMaxMin, getCapacityMin, getCapacityMinMax, getCapacityMinMin, getImpl, setCapacityMax, setCapacityMaxParam, setCapacityMin, setCapacityMinParam |
Inherited Methods from IloCapResource |
---|
addMaxTextureIgnoreInterval, addMaxTextureIgnoreInterval, addMaxTextureIgnoreIntervalOnDuration, addMaxTexturePeriodicIgnoreInterval, addMinTextureIgnoreInterval, addMinTextureIgnoreInterval, addMinTextureIgnoreIntervalOnDuration, addMinTexturePeriodicIgnoreInterval, emptyMaxTextureIgnoreIntervals, emptyMinTextureIgnoreIntervals, getCapacity, getImpl, getInitialOccupation, getInitialOccupationMax, getInitialOccupationMin, hasInitialOccupation, hasMaxTextureMeasurement, hasMinTextureMeasurement, removeMaxTextureIgnoreInterval, removeMaxTextureIgnoreInterval, removeMaxTextureIgnoreIntervalOnDuration, removeMaxTexturePeriodicIgnoreInterval, removeMinTextureIgnoreInterval, removeMinTextureIgnoreInterval, removeMinTextureIgnoreIntervalOnDuration, removeMinTexturePeriodicIgnoreInterval, setCapacity, setInitialOccupation, setInitialOccupation, setInitialOccupationParam, setInitialOccupationParam, setMaxTextureHeuristicBeta, setMaxTextureParam, setMaxTextureRandomGenerator, setMinTextureHeuristicBeta, setMinTextureParam, setMinTextureRandomGenerator, unsetMaxTextureRandomGenerator, unsetMinTextureRandomGenerator |
Inherited Methods from IloResource |
---|
addCapacityEnforcementInterval, addTransitionTimeEnforcementInterval, areCalendarConstraintsIgnored, areCapacityConstraintsIgnored, arePrecedenceConstraintsIgnored, areSequenceConstraintsIgnored, areTransitionTimeConstraintsIgnored, getCalendar, getCalendarEnforcement, getCapacityEnforcement, getDurationEnforcement, getImpl, getPrecedenceEnforcement, getSequenceEnforcement, getTransitionTimeEnforcement, hasCalendar, ignoreCalendarConstraints, ignoreCapacityConstraints, ignorePrecedenceConstraints, ignoreSequenceConstraints, ignoreTransitionTimeConstraints, isCapacityResource, isContinuousReservoir, isDiscreteEnergy, isDiscreteResource, isKeptOpen, isReservoir, isStateResource, isUnaryResource, keepOpen, removeCapacityEnforcementInterval, removeTransitionTimeEnforcementInterval, setCalendar, setCalendarEnforcement, setCapacityEnforcement, setCapacityEnforcementIntervalsParam, setDurationEnforcement, setPrecedenceEnforcement, setResourceParam, setSequenceEnforcement, setTransitionTimeEnforcement, setTransitionTimeEnforcementIntervalsParam |
public IloUnaryResource()
This constructor creates an instance that is empty, that is, one whose handle pointer is null.
You must assign it a value before you access it. Any attempt to access it before assignment leads to undefined behaviour.
public IloUnaryResource(IloUnaryResourceI * impl)
This constructor creates an instance of the handle class from the pointer to an instance of the implementation class.
public IloUnaryResource(const IloEnv env, const char * name=0)
This constructor creates a new instance of IloUnaryResource
and adds it to the set of resources managed in the given environment. The
capacity of the resource is 1 (one). If the argument name
is
defined, it is used as the name of the newly created resource.
public IloUnaryResourceI * getImpl() const
This member function returns a pointer to the implementation object of the invoking handle.