|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpeersim.vector.VectControl
peersim.vector.UniformDistribution
public class UniformDistribution
Initializes the values drawing uniform random samples from the range ["min", "max"[.
VectControl,
peersim.vector| Parameter Summary | |
|---|---|
max
The upper bound of the uniform random variable, exclusive. |
|
min
The lower bound of the uniform random variable, inclusive. |
|
| Parameters inherited from class peersim.vector.VectControl |
|---|
protocol, setter, getter |
| Field Summary |
|---|
| Fields inherited from class peersim.vector.VectControl |
|---|
getter, setter |
| Constructor Summary | |
|---|---|
UniformDistribution(java.lang.String prefix)
Standard constructor that reads the configuration parameters. |
|
| Method Summary | |
|---|---|
boolean |
execute()
Initializes the values drawing uniform random samples from the range ["min", "max"[. |
void |
initialize(Node n)
Initializes the value drawing a uniform random sample from the range ["min", "max"[. |
| 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 UniformDistribution(java.lang.String prefix)
prefix - the configuration prefix for this class| Method Detail |
|---|
public boolean execute()
execute in interface Controlpublic void initialize(Node n)
initialize in interface NodeInitializern - the node to initialize
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||