|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexample.aggregation.AverageObserver
public class AverageObserver
Print statistics for an average aggregation computation. Statistics printed
are defined by IncrementalStats.toString()
Parameter Summary | |
---|---|
accuracy
Config parameter that determines the accuracy for standard deviation before stopping the simulation. |
|
protocol
The protocol to operate on. |
Constructor Summary | |
---|---|
AverageObserver(java.lang.String name)
Creates a new observer reading configuration parameters. |
Method Summary | |
---|---|
boolean |
execute()
Print statistics for an average aggregation computation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Parameter Detail |
---|
accuracy
protocol
Constructor Detail |
---|
public AverageObserver(java.lang.String name)
Method Detail |
---|
public boolean execute()
IncrementalStats.toString()
. The current
timestamp is also printed as a first field.
execute
in interface Control
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |