| Overview | Group | Tree | Graph | Index | Concepts |

Instances of the class IlcTimeBoundConstraint are
temporalconstraints. These temporal constraints express
constraints on the time interval in which an activity is to be scheduled.
(Other temporal constraints—instances of IlcPrecedenceConstraint—express precedence between
activities in a schedule.)
This class inherits from the Solver class IlcConstraint,
which is documented in the Solver Reference Manual.
Instances of this class are created by these member functions:
IlcActivity::startsBeforeIlcActivity::endsBeforeIlcActivity::startsAtIlcActivity::endsAtIlcActivity::startsAfterIlcActivity::endsAfterFor more information, see
Metaconstraints,
and IlcConstraint in the IBM ILOG Solver Reference Manual.
See Also:
IlcActivity, IlcPrecedenceConstraint, IlcTimeBoundConstraintType
| Constructor Summary | |
|---|---|
public | IlcTimeBoundConstraint() |
public | IlcTimeBoundConstraint(IlcTimeBoundConstraintI * impl) |
| Method Summary | |
|---|---|
public IlcActivity | getActivity() const |
public IlcTimeBoundConstraintI * | getImpl() const |
public IlcInt | getTimeBound() const |
public IlcIntVar | getTimeBoundVariable() const |
public IlcTimeBoundConstraintType | getType() const |
public IlcBool | hasTimeBoundVariable() const |
public void | operator=(const IlcTimeBoundConstraint & h) |
| Constructor Detail |
|---|
| Method Detail |
|---|
This member function returns the activity of the invoking time-bound constraint.
This member function returns the time bound of the invoking time-bound constraint.
This member function returns the time-bound variable of the invoking time-bound constraint.
This member function returns the type of the invoking time-bound constraint.
This member function returns IlcTrue if the invoking
time-bound constraint has a time-bound variable. Otherwise, it returns
IlcFalse.