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

Parameters are used to change the default behavior of activities and
 resources. By default, all constraints on activities are taken into account.
 Instances of IloActivityConstraintsParam are used to change
 the default behaviour. It is possible to activate or deactivate some kinds of
 constraints, such as the precedence constraints, the time-bound constraints,
 the resource constraints, and the calendar constraints. If the activity is
 breakable, it is also possible to activate or deactivate disjunctive
 breaks.
For more information, see Calendars, Temporal Relations, and Parameter Classes.
See Also:
IloActivity, IloSchedulerEnv, IloPrecedenceConstraint, IloResourceConstraint, IloTimeBoundConstraint
| Constructor Summary | |
|---|---|
public  | IloActivityConstraintsParam() | 
public  | IloActivityConstraintsParam(IloActivityConstraintsParamI * impl) | 
public  | IloActivityConstraintsParam(const IloEnv env, const char * name=0) | 
| Method Summary | |
|---|---|
public IloBool | areCoverConstraintsIgnored() const | 
public IloBool | arePrecedenceConstraintsIgnored() const | 
public IloBool | areResourceConstraintsIgnored() const | 
public IloBool | areShiftConstraintsIgnored() const | 
public IloBool | areTimeBoundConstraintsIgnored() const | 
public IloActivityConstraintsParamI * | getImpl() const | 
public void | ignoreBreakDisjunctivity(IloBool ignored=IloTrue) const | 
public void | ignoreCoverConstraints(IloBool ignored=IloTrue) const | 
public void | ignorePrecedenceConstraints(IloBool ignored=IloTrue) const | 
public void | ignoreResourceConstraints(IloBool ignored=IloTrue) const | 
public void | ignoreShiftConstraints(IloBool ignored=IloTrue) const | 
public void | ignoreTimeBoundConstraints(IloBool ignored=IloTrue) const | 
public IloBool | isBreakDisjunctivityIgnored() const | 
| Constructor Detail | 
|---|
This constructor creates a new instance of IloActivityConstraintsParam, with the default value that the following constraints are all activated: precedence constraints, time-bound constraints, resource constraints, and calendar constraints. Disjunctive breaks are also taken into account for breakable activities.
| Method Detail | 
|---|
This member function returns IloTrue if the cover
 constraints are not taken into account for the invoking parameter.
 Otherwise, it returns IloFalse.
This member function returns IloTrue if the precedence
 constraints are not taken into account for the invoking parameter.
 Otherwise, it returns IloFalse.
This member function returns IloTrue if resource constraints
 are not taken into account for the invoking parameter. Otherwise, it returns
 IloFalse.
This member function returns IloTrue if shifts
 of calendar constraints are not taken into account for the invoking parameter.
 Otherwise, it returns IloFalse.
This member function returns IloTrue if time-bound
 constraints are not taken into account for the invoking parameter.
 Otherwise, it returns IloFalse.
When the argument ignored is equal to IloTrue,
 this member function causes the invoking parameter to ignore the disjunctive
 breaks. Otherwise, the disjunctive constraints are taken into account.
When the argument ignored is equal to IloTrue,
 this member function causes the invoking parameter to ignore the cover
 constraints. Otherwise, and by default, the cover constraints are taken into
 account.
When the argument ignored is equal to IloTrue,
 this member function causes the invoking parameter to ignore the precedence
 constraints. Otherwise, the precedence constraints are taken into
 account.
When the argument ignored is equal to IloTrue,
 this member function causes the invoking parameter to ignore the resource
 constraints. Otherwise, the resource constraints are taken into account.
When the argument ignored is equal to IloTrue,
 this member function causes the invoking parameter to ignore the shift part
 of the calendar constraints. Otherwise, the shifts are taken into
 account.
When the argument ignored is equal to IloTrue,
 this member function causes the invoking parameter to ignore the time-bound
 constraints. Otherwise, the constraints are taken into account.
This member function returns IloTrue if disjunctive breaks
 are not taken into account for the invoking parameter. Otherwise, it returns
 IloFalse.