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

| Constructor Summary | |
|---|---|
public | IloResourceValue() |
public | IloResourceValue(IloResourceValueI * impl) |
public | IloResourceValue(IloEnv env, const char * name=0) |
| Method Summary | |
|---|---|
public IloResourceValueI * | getImpl() const |
public IloIntExprArg | operator[](IloResourceConstraint rct) |
public void | setDefault(IloInt defaultValue) |
public void | setValue(IloResource resource, IloIntVar var) |
public void | setValue(IloResource resource, IloInt value) |
| Constructor Detail |
|---|
This constructor creates a new instance of IloResourceValue to
associate an integer value (or integer variable) with each resource
in the environment.
| Method Detail |
|---|
This member function returns an integer expression whose value is the value of the resource that is selected by the resource constraint given as parameter.
This member function defines a default value associated with
each resource in the environment. It means that the invoking
IloResourceValue will associate the value defaultValue
with each resource but those which have explicitely been associated
a value thanks to the member functions setValue.
This member function associates the variable value var
with resource resource.
This member function associates the value value
with resource resource.