FRAMES NO FRAMES

Class IloTextureCriticalityCalculatorI

Definition file: ilsched/ilotextureparami.h
Include file: <ilsched/iloscheduler.h>

Texture criticality calculator objects in Scheduler Concert Technology depend on the classes IloTextureCriticalityCalculatorI and IloTextureCriticalityCalculator. The class IloTextureCriticalityCalculatorI is the implementation class. If you define a new class of factory with the macro ILOTEXTURECRITICALITYCALCULATOR0, it will define this implementation class together with the corresponding virtual member function IloTextureCriticalityCalculatorI::extract, and with a member function that returns an instance of the handle class IloTextureCriticalityCalculator.

For more information, see Texture Measurements.

See Also:

Method Summary
public virtual IlcTextureCriticalityCalculatorI *extract(const IloSolver & solver) const
protected voiduse(const IloSolver &, const IloExtractable &) const
Method Detail

extract

public virtual IlcTextureCriticalityCalculatorI * extract(const IloSolver & solver) const

This virtual function implements the extraction of the invoking texture criticality calculator into an IlcTextureCriticalityCalculatorI* by the solver given as argument. Note that this member function must be defined by using the macro ILOTEXTURECRITICALITYCALCULATOR0.


use

protected void use(const IloSolver &, const IloExtractable &) const

This member function can only be called from within the member function IloTextureCriticalityCalculatorI::extract (that is, only in the code of a macro ILOTEXTURECRITICALITYCALCULATOR0). It states that the invoking texture criticality calculator currently in the process of being extracted by the solver given as argument uses the extractable given as the second argument. As a consequence, the extractable given as the second argument will be immediately extracted by the solver.