FRAMES NO FRAMES

Class IlcTextureCriticalityCalculator

Definition file: ilsched/texture.h
Include file: <ilsched/ilsched.h>

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.

See Also:

Constructor Summary
public IlcTextureCriticalityCalculator()
public IlcTextureCriticalityCalculator(IlcTextureCriticalityCalculatorI * impl)
Method Summary
public IlcFloatcalculateCriticalityGreaterThan(IlcFloat expectedDemand, IlcFloat constraintVal, IlcFloat expectedVariance=0.) const
public IlcFloatcalculateCriticalityLessThan(IlcFloat expectedDemand, IlcFloat constraintVal, IlcFloat expectedVariance=0.) const
public IlcTextureCriticalityCalculatorI *getImpl() const
public voidoperator=(const IlcTextureCriticalityCalculator & h)
Constructor Detail

IlcTextureCriticalityCalculator

public IlcTextureCriticalityCalculator()

This constructor creates an empty handle. You must initialize it before you use it.


IlcTextureCriticalityCalculator

public IlcTextureCriticalityCalculator(IlcTextureCriticalityCalculatorI * impl)

This constructor creates a handle object from a pointer to an implementation object.


Method Detail

calculateCriticalityGreaterThan

public IlcFloat calculateCriticalityGreaterThan(IlcFloat expectedDemand, IlcFloat constraintVal, IlcFloat expectedVariance=0.) const

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.


calculateCriticalityLessThan

public IlcFloat calculateCriticalityLessThan(IlcFloat expectedDemand, IlcFloat constraintVal, IlcFloat expectedVariance=0.) const

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.


getImpl

public IlcTextureCriticalityCalculatorI * getImpl() const
This constructor creates an object by copying another one.

This member function returns a pointer to the implementation object of the invoking handle.


operator=

public void operator=(const IlcTextureCriticalityCalculator & h)

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.