etomica.data
Class AccumulatorAverage.StatType

java.lang.Object
  extended by etomica.util.EnumeratedType
      extended by etomica.data.AccumulatorAverage.StatType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AccumulatorAverageCovariance.StatType, AccumulatorRatioAverage.StatType
Enclosing class:
AccumulatorAverage

public static class AccumulatorAverage.StatType
extends EnumeratedType

Enumerated type that can be used to indicated the statistic to be taken from the accumulator (e.g., average, error, current value, etc.). An array of these types can be given to the addDataSink method to specify the type of statistics to be given to the DataSink.

See Also:
Serialized Form

Field Summary
static AccumulatorAverage.StatType AVERAGE
           
static AccumulatorAverage.StatType BLOCK_CORRELATION
           
static AccumulatorAverage.StatType ERROR
           
 int index
           
static AccumulatorAverage.StatType MOST_RECENT
           
static AccumulatorAverage.StatType STANDARD_DEVIATION
           
 
Constructor Summary
protected AccumulatorAverage.StatType(String label, int index)
           
 
Method Summary
static AccumulatorAverage.StatType[] choices()
           
 
Methods inherited from class etomica.util.EnumeratedType
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MOST_RECENT

public static final AccumulatorAverage.StatType MOST_RECENT

AVERAGE

public static final AccumulatorAverage.StatType AVERAGE

ERROR

public static final AccumulatorAverage.StatType ERROR

STANDARD_DEVIATION

public static final AccumulatorAverage.StatType STANDARD_DEVIATION

BLOCK_CORRELATION

public static final AccumulatorAverage.StatType BLOCK_CORRELATION

index

public final int index
Constructor Detail

AccumulatorAverage.StatType

protected AccumulatorAverage.StatType(String label,
                                      int index)
Method Detail

choices

public static AccumulatorAverage.StatType[] choices()