FRAMES NO FRAMES

Class IlcRCTextureESTFactoryI

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

IlcRCTextureESTFactoryI is an implementation object that allocates instances of IlcRCTextureESTI.

For more information, see Texture Measurements.

See Also:

Constructor and Destructor Summary
public IlcRCTextureESTFactoryI(IloSolver solver)
Method Summary
public virtual IlcRCTexturecreateRCTexture(IlcResourceConstraint, IlcResourceTexture) const
Inherited Methods from IlcRCTextureFactoryI
createRCTexture, getSolver, hasRealZeroCriticality
Constructor and Destructor Detail

IlcRCTextureESTFactoryI

public IlcRCTextureESTFactoryI(IloSolver solver)

This constructor creates an instance of IlcRCTextureESTFactoryI.


Method Detail

createRCTexture

public virtual IlcRCTexture createRCTexture(IlcResourceConstraint, IlcResourceTexture) const

This method returns a pointer to a newly allocated instance of IlcRCTexture representing the individual curve of the resource constraint for the resource associated with the resource texture.

Example

The createRCTexture() method could be written as follows:


 IlcRCTexture
 IlcRCTextureESTFactoryI::createRCTexture(IlcResourceConstraint rct,
 		   IlcResourceTexture texture) const {
   IloSolver solver = getSolver();
   return new (solver.getHeap())
     IlcRCTextureESTI(solver, rct, texture);
 }