Overview | Group | Tree | Graph | Index | Concepts |
IlcTextureCriticalityCalculator
is the handle class for
IlcTextureCriticalityCalculatorI
and for its
subclasses.
For more information, see Texture Measurements.
Predefined Texture Criticality Calculators
These functions return instances of IlcTextureCriticalityCalculator
.
IlcTextureCriticalityCalculator IlcProbabilisticCriticalityCalculator (IloSolver solver);
IlcTextureCriticalityCalculator IlcRelativeDemandCriticalityCalculator (IloSolver solver);
See Also:
IlcResourceTexture, IlcTextureCriticalityCalculatorI, IlcProbabilisticCriticalityCalculatorI, IlcRelativeDemandCriticalityCalculatorI
Constructor Summary | |
---|---|
public | IlcTextureCriticalityCalculator() |
public | IlcTextureCriticalityCalculator(IlcTextureCriticalityCalculatorI * impl) |
Method Summary | |
---|---|
public IlcFloat | calculateCriticalityGreaterThan(IlcFloat expectedDemand, IlcFloat constraintVal, IlcFloat expectedVariance=0.) const |
public IlcFloat | calculateCriticalityLessThan(IlcFloat expectedDemand, IlcFloat constraintVal, IlcFloat expectedVariance=0.) const |
public IlcTextureCriticalityCalculatorI * | getImpl() const |
public void | operator=(const IlcTextureCriticalityCalculator & h) |
Constructor Detail |
---|
This constructor creates an empty handle. You must initialize it before you use it.
This constructor creates a handle object from a pointer to an implementation object.
Method Detail |
---|
This method calculates the criticality of a maximum capacity constraint
of the resource at one time point. Given the expected demand
(expectedDemand
), the variance (expectedVariance
),
and the value of the constraint (constraintVal
), for a time
point, this function calculates a measure of the likelihood that the
underlying set of resource constraints represented by
expectedDemand
and expectedVariance
will demand
more than constraintVal
units of resource. The returned value
must be a non-negative value.
The actual calculation depends on the semantics of the criticality
calculation. See IlcProbabilisticCriticalityCalculatorI
and IlcRelativeDemandCriticalityCalculatorI
for more
details.
This method calculates the criticality of a minimum capacity constraint
of the resource at one time point. Given the expected demand
expectedDemand
, the variance expectedVariance
, and
the value of the constraint constraintVal
, for a time point,
this function calculates a measure of the likelihood that the underlying set
of resource constraints represented by expectedDemand
and
expectedVariance
will demand less than
constraintVal
units of resource. The returned value must be a
non-negative value.
The actual calculation depends on the semantics of the criticality
calculation. See IlcProbabilisticCriticalityCalculatorI
and IlcRelativeDemandCriticalityCalculatorI
for more
details.
This member function returns a pointer to the implementation object of the invoking handle.
This operator assigns an address to the handle pointer of the invoking object. That address is the location of the implementation object of the provided argument.