Overview | Group | Tree | Graph | Index | Concepts |
Parameters are used to change the default behavior of activities and
resources. By default, an activity deals with all shifts. Instances of
IloActivityShiftParam
are used to define the set of
ignored types of shifts for activities.
For more information, see Shift Object Semantic and Parameter Classes.
See Also:
Constructor Summary | |
---|---|
public | IloActivityShiftParam() |
public | IloActivityShiftParam(IloActivityShiftParamI * impl) |
public | IloActivityShiftParam(const IloEnv env, const char * name=0) |
Method Summary | |
---|---|
public void | addIgnoredShiftType(const IloIntSet types) const |
public void | addIgnoredShiftType(IloInt type) const |
public void | clearIgnoredShiftType() const |
public IloActivityShiftParamI * | getImpl() const |
public IloBool | hasIgnoredShiftType() const |
public IloBool | isIgnoredShiftType(IloInt type) const |
public void | removeIgnoredShiftType(const IloIntSet types) const |
public void | removeIgnoredShiftType(IloInt type) const |
Constructor Detail |
---|
This constructor creates an instance of
IloActivityShiftParam
with the default values.
No shifts are ignored.
Method Detail |
---|
This member function adds the set of types types
to the set
of ignored shift types of the invoking parameter.
This member function adds the type type
to the set of
ignored shift types of the invoking parameter.
This member function empties the set of ignored shift types of the invoking parameter.
This member function returns IloTrue
if the set of
ignored shift types is not empty.
This member function returns IloTrue
if the type
type
belongs to the set of ignored shift types of the
invoking parameter. Otherwise, it returns IloFalse
.
This member function removes the set of types types
from the
set of ignored shift types of the invoking parameter.
This member function removes the type type
from the set of
ignored shift types of the invoking parameter.