|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object peersim.vector.VectControl peersim.vector.PeakDistribution
public class PeakDistribution
Initializes the values so that "peaks" nodes have value "value"/"peaks", the rest "background" (zero by default).
VectControl
,
peersim.vector
Parameter Summary | |
---|---|
value
The sum of values in the system, to be equally distributed between peak nodes. |
|
background
The value for the nodes that are not peaks. |
|
peaks
The number of peaks in the system. |
Parameters inherited from class peersim.vector.VectControl |
---|
protocol, setter, getter |
Field Summary |
---|
Fields inherited from class peersim.vector.VectControl |
---|
getter, setter |
Constructor Summary | |
---|---|
PeakDistribution(java.lang.String prefix)
Standard constructor that reads the configuration parameters. |
Method Summary | |
---|---|
boolean |
execute()
Initializes the values so that "peaks" nodes have value "value"/"peaks", the rest zero. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parameter Detail |
---|
value
background
peaks
Constructor Detail |
---|
public PeakDistribution(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 |