Overview | Group | Tree | Graph | Index | Concepts |
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:
IloDiscreteResource, IlcResourceTexture, IloTextureSuccessorGoal, IloTextureAltSuccessorGoal
Constructor Summary | |
---|---|
public | IloTextureParam() |
public | IloTextureParam(IloTextureParamI * impl) |
public | IloTextureParam(const IloEnv env, const char * name=0) |
Method Summary | |
---|---|
public void | addIgnoreInterval(const IloIntervalList) const |
public void | addIgnoreInterval(IloNum start, IloNum end) const |
public void | addIgnoreIntervalOnDuration(IloNum start, IloNum duration) const |
public void | addPeriodicIgnoreInterval(IloNum start, IloNum duration, IloNum period, IloNum end) const |
public void | emptyIgnoreIntervals() const |
public IloIntervalList | getIgnoreIntervals() const |
public IloTextureParamI * | getImpl() const |
public void | removeIgnoreInterval(const IloIntervalList) const |
public void | removeIgnoreInterval(IloNum start, IloNum end) const |
public void | removeIgnoreIntervalOnDuration(IloNum start, IloNum duration) const |
public void | removePeriodicIgnoreInterval(IloNum start, IloNum duration, IloNum period, IloNum end) const |
public void | setCriticalityCalculator(IloTextureCriticalityCalculator) |
public void | setHeuristicBeta(IloNum) const |
public void | setRandomGenerator(IloRandom) const |
public void | setRCTextureFactory(IloRCTextureFactory) |
public void | unsetRandomGenerator() const |
Constructor Detail |
---|
This constructor creates a new instance of IloTextureParam
,
with the default value that no texture measurement will be created.
Method Detail |
---|
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.
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.
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.
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.
This member function removes all the intervals from the ignored intervals of the invoking parameter.
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.
This member function removes all intervals ignored by the texture measurement during the intervals in the interval list.
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)
.
This member function removes all ignored intervals on the invoking
parameter between start
and start
+
duration
.
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
.
This member function sets the texture criticality calculator object given as argument as the criticality calculator of the invoking texture parameter.
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
.
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.
This member function sets the texture factory object given as argument as the texture factory of the invoking texture parameter.
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.