|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.ac.waikato.mcennis.rat.graph.descriptors.BasicParameter
nz.ac.waikato.mcennis.rat.graph.descriptors.AverageSumParameter
public class AverageSumParameter
Extension of BasicParameter that causes all double values to not overwrite the previous value, but maintain a running average of all values.
| Constructor Summary | |
|---|---|
AverageSumParameter()
Creates a new instance of AverageSumParameter |
|
| Method Summary | |
|---|---|
void |
setValue(java.lang.Object o)
Set the actual value to the average of all inputs seen. |
| Methods inherited from class nz.ac.waikato.mcennis.rat.graph.descriptors.BasicParameter |
|---|
getName, getType, getValue, isStructural, setName, setStructural, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AverageSumParameter()
| Method Detail |
|---|
public void setValue(java.lang.Object o)
setValue in interface SettableParametersetValue in class BasicParametero - new parameter value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||