org.mbari.siam.distributed.jddac
Class NumberStatsFunction

java.lang.Object
  extended by org.mbari.siam.distributed.jddac.AbstractStatsFunction
      extended by org.mbari.siam.distributed.jddac.NumberStatsFunction
All Implemented Interfaces:
IFunction

public class NumberStatsFunction
extends AbstractStatsFunction

Author:
brian

Field Summary
 
Fields inherited from class org.mbari.siam.distributed.jddac.AbstractStatsFunction
MAX_VALUE, MAX_VALUE_TIME, MEAN, MIN_VALUE, MIN_VALUE_TIME, NSAMPLES, START_TIME, STD_DEV, STOP_TIME
 
Fields inherited from interface org.mbari.jddac.IFunction
KEY, OPID_IN, OPID_OUT
 
Constructor Summary
NumberStatsFunction()
          Creates a new instance of NumberStatsFunction
 
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
 

Constructor Detail

NumberStatsFunction

public NumberStatsFunction()
Creates a new instance of NumberStatsFunction

Method Detail

execute

public net.java.jddac.common.type.ArgArray execute(net.java.jddac.common.type.ArgArray argArray)
Parameters:
argArray -

An ArgArray of Measurmentts to calculate stats on The ArgArray should be like:

 ArgArray {
   "name-1": Measurement {
      MeasAttr.VALUE: MutableInteger
    }
   "name-2": Measurement {
      MeasAttr.VALUE: MutableInteger
    }
    ...
 }
 
Each measurement should, at a minimum, contain a value that is a MutableInteger



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.