FRAMES NO FRAMES

Class IloTextureParam

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

Parameters are used to change the default behavior and characteristics of activities and resources. An instance of IloTextureParam modifies the existence and type of texture measurement that is created on a resource. By default, no texture measurement is created.

Texture measurements are measurements of some aspect of the search state and can be used to guide heuristics. See Texture Measurements.

For more information, see Texture Measurements.

See Also:

Constructor Summary
public IloTextureParam()
public IloTextureParam(IloTextureParamI * impl)
public IloTextureParam(const IloEnv env, const char * name=0)
Method Summary
public voidaddIgnoreInterval(const IloIntervalList) const
public voidaddIgnoreInterval(IloNum start, IloNum end) const
public voidaddIgnoreIntervalOnDuration(IloNum start, IloNum duration) const
public voidaddPeriodicIgnoreInterval(IloNum start, IloNum duration, IloNum period, IloNum end) const
public voidemptyIgnoreIntervals() const
public IloIntervalListgetIgnoreIntervals() const
public IloTextureParamI *getImpl() const
public voidremoveIgnoreInterval(const IloIntervalList) const
public voidremoveIgnoreInterval(IloNum start, IloNum end) const
public voidremoveIgnoreIntervalOnDuration(IloNum start, IloNum duration) const
public voidremovePeriodicIgnoreInterval(IloNum start, IloNum duration, IloNum period, IloNum end) const
public voidsetCriticalityCalculator(IloTextureCriticalityCalculator)
public voidsetHeuristicBeta(IloNum) const
public voidsetRandomGenerator(IloRandom) const
public voidsetRCTextureFactory(IloRCTextureFactory)
public voidunsetRandomGenerator() const
Constructor Detail

IloTextureParam

public IloTextureParam()
This constructor creates an instance that is empty, that is, one whose handle pointer is null. You must assign it a value before you access it. Any attempt to access it before assignment leads to undefined behaviour.

IloTextureParam

public IloTextureParam(IloTextureParamI * impl)
This constructor creates an instance of the handle class from the pointer to an instance of the implementation class.

IloTextureParam

public IloTextureParam(const IloEnv env, const char * name=0)

This constructor creates a new instance of IloTextureParam, with the default value that no texture measurement will be created.


Method Detail

addIgnoreInterval

public void addIgnoreInterval(const IloIntervalList) const

This member function adds an interval list to the list of intervals that are ignored by the texture measurement. The new intervals are merged with existing intervals that they overlap, if any.


addIgnoreInterval

public void addIgnoreInterval(IloNum start, IloNum end) const

This member function adds an interval to the list of intervals that are ignored by the texture measurement. The ignored interval is [start, end). The new interval is merged with existing intervals that it overlaps, if any.


addIgnoreIntervalOnDuration

public void addIgnoreIntervalOnDuration(IloNum start, IloNum duration) const

This member function adds an interval to the list of intervals that are ignored by the texture measurement. The ignored interval is [start, start+duration). The new interval is merged with existing intervals that it overlaps, if any.


addPeriodicIgnoreInterval

public void addPeriodicIgnoreInterval(IloNum start, IloNum duration, IloNum period, IloNum end) const

This member function adds a set of intervals to the list of intervals that are ignored by the texture measurement. For every i >= 0 such that start + i * period < end, an interval of [start + i * period, start + duration + i * period) is added. Adding a new interval that overlaps with an already existing interval results in the merging of the intervals.


emptyIgnoreIntervals

public void emptyIgnoreIntervals() const

This member function removes all the intervals from the ignored intervals of the invoking parameter.


getIgnoreIntervals

public IloIntervalList getIgnoreIntervals() const

This member function returns a list of intervals that will be ignored by the texture measurements. No texture calculations will take place on these intervals and the criticality value for all time points within the intervals is 0.


getImpl

public IloTextureParamI * getImpl() const
This member function returns a pointer to the implementation object of the invoking handle.

removeIgnoreInterval

public void removeIgnoreInterval(const IloIntervalList) const

This member function removes all intervals ignored by the texture measurement during the intervals in the interval list.


removeIgnoreInterval

public void removeIgnoreInterval(IloNum start, IloNum end) const

This member function removes all intervals ignored by the texture measurement between start and end. If start is inside an existing interval [start1, end1), that is, start1 < start < end1, this results in an ignored interval [start1, start). If end is inside an interval [start2, end2) this results in an ignored interval [end, end2).


removeIgnoreIntervalOnDuration

public void removeIgnoreIntervalOnDuration(IloNum start, IloNum duration) const

This member function removes all ignored intervals on the invoking parameter between start and start+duration.


removePeriodicIgnoreInterval

public void removePeriodicIgnoreInterval(IloNum start, IloNum duration, IloNum period, IloNum end) const

This member function removes ignored intervals from the invoking parameter. More precisely, for every i >= 0 such that start + i * period < end, this function removes all intervals between start + i * period and start + duration + i * period.


setCriticalityCalculator

public void setCriticalityCalculator(IloTextureCriticalityCalculator)

This member function sets the texture criticality calculator object given as argument as the criticality calculator of the invoking texture parameter.


setHeuristicBeta

public void setHeuristicBeta(IloNum) const

This member function sets the beta value to be used with the random number generator. If no random number generator is used, this function does nothing. For details on the use of the beta argument, see IlcResourceTexture::setRandomGenerator.


setRandomGenerator

public void setRandomGenerator(IloRandom) const

This member function sets the random number generator to be used in choosing the critical time point on the texture measurement. By default, no random number generator is used.


setRCTextureFactory

public void setRCTextureFactory(IloRCTextureFactory)

This member function sets the texture factory object given as argument as the texture factory of the invoking texture parameter.


unsetRandomGenerator

public void unsetRandomGenerator() const

This member function removes the random number generator, meaning that no random numbers will be used in choosing the critical time point on the texture measurement.