FRAMES NO FRAMES

Class IlcTextureCriticalityCalculatorI

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

IlcTextureCriticalityCalculatorI is the abstract base implementation class for objects which calculate the criticality of a texture measurement at a single time point. An instance of the subclass IlcTextureCriticalityCalculatorI is used internally by IlcResourceTexture to transform the aggregate demand (and, optionally, the aggregate variance) curves into a criticality curve.

For more information, see Texture Measurements.

See Also:

Constructor and Destructor Summary
public IlcTextureCriticalityCalculatorI()
Method Summary
public virtual IlcFloatcalculateCriticalityGreaterThan(IlcFloat expectedDemand, IlcFloat constraintVal, IlcFloat expectedVariance) const
public virtual IlcFloatcalculateCriticalityLessThan(IlcFloat expectedDemand, IlcFloat constraintVal, IlcFloat expectedVariance) const
Constructor and Destructor Detail

IlcTextureCriticalityCalculatorI

public IlcTextureCriticalityCalculatorI()

This constructor creates an instance of IlcTextureCriticalityCalculatorI. As the class is pure abstract, this constructor should only be used automatically in the constructor of subclasses.


Method Detail

calculateCriticalityGreaterThan

public virtual IlcFloat calculateCriticalityGreaterThan(IlcFloat expectedDemand, IlcFloat constraintVal, IlcFloat expectedVariance) const

This pure virtual method calculates the criticality of a maximum capacity constraint of the resource at one time point. For a time point, given expectedDemand and expectedVariance, and the value of the constraint, constraintVal, this function calculates a measure of the likelihood that the underlying set of resource constraints represented by demand and variance will demand more than constraintVal units of resource. The returned value must be non-negative.

See IlcProbabilisticCriticalityCalculatorI and IlcRelativeDemandCriticalityCalculatorI for more details.


calculateCriticalityLessThan

public virtual IlcFloat calculateCriticalityLessThan(IlcFloat expectedDemand, IlcFloat constraintVal, IlcFloat expectedVariance) const

This method calculates the criticality of a minimum capacity constraint of the resource at one time point. For a time point, given expectedDemand and expectedVariance, and the value of the constraint constraintVal, this function calculates a measure of the likelihood that the underlying set of resource constraints represented by demand and variance will demand less than constraintVal units of resource. The returned value must be a non-negative value.

See IlcProbabilisticCriticalityCalculatorI and IlcRelativeDemandCriticalityCalculatorI for more details.