Class LDStrategy.Range
java.lang.Object
common.serviceStrategies.LDStrategy.Range
- All Implemented Interfaces:
Comparable<Object>
- Enclosing class:
LDStrategy
Inner class used to store definition of a Range
- Author:
- Bertoli Marco Date: 11-ott-2005 Time: 12.25.52
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRange(int from) Builds a new Range, starting interval from specified queue length. -
Method Summary
-
Field Details
-
from
public int from -
distribution
-
meanExpression
-
-
Constructor Details
-
Range
public Range(int from) Builds a new Range, starting interval from specified queue length. Distribution is set as Default service time distribution, if it allows mean, otherwise to the first distribution with mean available.- Parameters:
from- starting index for this range
-
-
Method Details
-
compareTo
Used to store this object in a SortedSet.- Specified by:
compareToin interfaceComparable<Object>- Parameters:
o- object to compare with- Returns:
- a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
-