|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpeersim.vector.VectControl
peersim.vector.LinearDistribution
public class LinearDistribution
Initializes a protocol vector with values in the range ["min", "max"] (inclusive both ends), linearly increasing.
VectControl
,
peersim.vector
Parameter Summary | |
---|---|
max
Upper end of the interval.. |
|
min
Lower end of the interval. |
Parameters inherited from class peersim.vector.VectControl |
---|
protocol, setter, getter |
Field Summary |
---|
Fields inherited from class peersim.vector.VectControl |
---|
getter, setter |
Constructor Summary | |
---|---|
LinearDistribution(java.lang.String prefix)
Standard constructor that reads the configuration parameters. |
Method Summary | |
---|---|
boolean |
execute()
Initializes a protocol vector with values in the range ["min", "max"] (inclusive both ends), linearly increasing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parameter Detail |
---|
max
min
Constructor Detail |
---|
public LinearDistribution(java.lang.String prefix)
prefix
- the configuration prefix for this classMethod Detail |
---|
public boolean execute()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |