Overview | Group | Tree | Graph | Index | Concepts |
Instances of the class IloTimeBoundConstraint
are temporal
constraints. These temporal constraints express constraints on the time
interval in which an activity is to be scheduled. (Other temporal
constraints — instances of IloPrecedenceConstraint
— express precedence between
activities in a schedule.)
This class inherits from the Concert Technology class
IloConstraint
, which is documented in the IBM ILOG Concert
Technology Reference Manual.
Instances of this class are created by these member functions:
IloActivity::startsBefore
IloActivity::endsBefore
IloActivity::startsAt
IloActivity::endsAt
IloActivity::startsAfter
IloActivity::endsAfter
.For more information, see
IloConstraint
in the IBM ILOG Concert Technology Reference Manual, and
Temporal Relations.
See Also:
IloActivity, IloActivityConstraintsParam
Constructor Summary | |
---|---|
public | IloTimeBoundConstraint() |
public | IloTimeBoundConstraint(IloTimeBoundConstraintI * impl) |
Method Summary | |
---|---|
public IloActivity | getActivity() const |
public IloTimeBoundConstraintI * | getImpl() const |
public IloNum | getTimeBound() const |
public IloNumVar | getTimeBoundVariable() const |
public IloTimeBoundConstraintType | getType() const |
public IloBool | hasTimeBoundVariable() const |
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 IloTrue
if the invoking
time-bound constraint has a time-bound variable. Otherwise, it returns
IloFalse
.