Overview | Group | Tree | Graph | Index | Concepts |
IlcRCTextureProbabilisticFactoryI
is an implementation
object that allocates instances of IlcRCTextureProbabilisticI
.
For more information, see Texture Measurements.
See Also:
IlcResourceTexture, IlcRCTextureI, IlcRCTextureProbabilisticI
Constructor and Destructor Summary | |
---|---|
public | IlcRCTextureProbabilisticFactoryI(IloSolver solver) |
Method Summary | |
---|---|
public virtual IlcRCTexture | createRCTexture(IlcResourceConstraint, IlcResourceTexture) const |
Inherited Methods from IlcRCTextureFactoryI |
---|
createRCTexture, getSolver, hasRealZeroCriticality |
Constructor and Destructor Detail |
---|
This constructor creates an instance of
IlcRCTextureProbabilisticFactoryI
.
Method Detail |
---|
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 IlcRCTextureProbabilisticFactoryI::createRCTexture( IlcResourceConstraint rct, IlcResourceTexture texture) const { IloSolver solver = getSolver(); return new (solver.getHeap()) IlcRCTextureProbabilisticI(solver, rct, texture); }