Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uchicago.src.sim.analysis
Class MinSequence

    java.lang.Object
      uchicago.src.sim.analysis.MinSequence

All Implemented Interfaces:
  Sequence

    public class MinSequence

extends java.lang.Object
implements Sequence

Computes the minimum of a sequence of values, based on a list of objects and a method to call on them.

Version:
  $Revision: 1.4 $ $Date: 2005/08/12 16:13:30 $
Author:
  Jerry Vos based on Nick Collier's Average Sequence
See Also:
  `AverageSequence`, `MaxSequence`

Constructor Summary
`MinSequence(java.util.ArrayList list, java.lang.String methodName)` Constructs this MinSequence using the specified list and method name.

Method Summary
`double` | `getSValue()` Compute and return the minimum, if the list this sequence is based on is empty this will return Double.MAX_VALUE.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MinSequence

    public MinSequence(java.util.ArrayList list,
                       java.lang.String methodName)

  Constructs this MinSequence using the specified list and method name. Each object in the list should respond to the method named by method name. This method must return some subclass of Number.

  Parameters:
    `list` - the list of objects on which to call the method
    `methodName` - the name of the method to call. This method must return some subclass of java.Number.
  See Also:
    `Number`

Method Detail

### getSValue

    public double getSValue()

  Compute and return the minimum, if the list this sequence is based on is empty this will return Double.MAX_VALUE.

  Specified by:
    `getSValue` in interface `Sequence`
  Returns:
    the value to be plotted.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD