org.mbari.jddac.ex01
Class MeanStatsFunction

java.lang.Object
  extended by org.mbari.jddac.ex01.MeanStatsFunction
All Implemented Interfaces:
IFunction

public class MeanStatsFunction
extends java.lang.Object
implements IFunction

Function that calculates that central tendency statistics for MEasurements that are stored in an aggregation block

Author:
brian

Field Summary
static java.lang.String MAX_VALUE
           
static java.lang.String MAX_VALUE_TIME
           
static java.lang.String MEAN
           
static java.lang.String MIN_VALUE
           
static java.lang.String MIN_VALUE_TIME
           
static java.lang.String NSAMPLES
           
static java.lang.String START_TIME
           
static java.lang.String STD_DEV
           
static java.lang.String STOP_TIME
           
 
Fields inherited from interface org.mbari.jddac.IFunction
KEY, OPID_IN, OPID_OUT
 
Constructor Summary
MeanStatsFunction(AggregationBlock aggregationBlock)
          Creates a new instance of MeanStatsFunction.
 
Method Summary
 net.java.jddac.common.type.ArgArray execute(net.java.jddac.common.type.ArgArray argArray)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MEAN

public static final java.lang.String MEAN
See Also:
Constant Field Values

STD_DEV

public static final java.lang.String STD_DEV
See Also:
Constant Field Values

MIN_VALUE

public static final java.lang.String MIN_VALUE
See Also:
Constant Field Values

MIN_VALUE_TIME

public static final java.lang.String MIN_VALUE_TIME
See Also:
Constant Field Values

MAX_VALUE

public static final java.lang.String MAX_VALUE
See Also:
Constant Field Values

MAX_VALUE_TIME

public static final java.lang.String MAX_VALUE_TIME
See Also:
Constant Field Values

NSAMPLES

public static final java.lang.String NSAMPLES
See Also:
Constant Field Values

START_TIME

public static final java.lang.String START_TIME
See Also:
Constant Field Values

STOP_TIME

public static final java.lang.String STOP_TIME
See Also:
Constant Field Values
Constructor Detail

MeanStatsFunction

public MeanStatsFunction(AggregationBlock aggregationBlock)
Creates a new instance of MeanStatsFunction. Since stats require several data points this Function is associated with an AggregationBlock

Parameters:
aggregationBlock - The AggregationBlock that the stats funciton operates on. A reference to the stats block is used to fetch the samples stored in the aggregationBlock
Method Detail

execute

public net.java.jddac.common.type.ArgArray execute(net.java.jddac.common.type.ArgArray argArray)
Specified by:
execute in interface IFunction


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.