Minimum_< T > Class Template Reference

This Measure tracks the minimum value attained by its source operand since the last initialize() call. More...

#include <Measure.h>

Inheritance diagram for Minimum_< T >:
Measure_< T > Measure

List of all members.

Public Member Functions

 SimTK_MEASURE_HANDLE_PREAMBLE (Minimum_, Measure_< T >)
 Minimum_ (Subsystem &sub, const Measure_< T > &source, const Measure_< T > &sourceDot)
void setValue (State &s, const T &value) const
const Measure_< T > & getSourceMeasure () const
const Measure_< T > & getSourceDerivativeMeasure () const
Minimum_setSourceMeasure (const Measure_< T > &s)
Minimum_setSourceDerivativeMeasure (const Measure_< T > &sdot)
 SimTK_MEASURE_HANDLE_POSTSCRIPT (Minimum_, Measure_< T >)

Detailed Description

template<class T>
class SimTK::Measure::Minimum_< T >

This Measure tracks the minimum value attained by its source operand since the last initialize() call.

If the time derivative of the source operand is available, the measure will arrange to ensure precise isolation of the minimum values by defining a triggered event that watches for negative-to-positive sign changes of the derivative. Then if you output reporting data upon the occurrence of triggered events (as well as your regularly scheduled output) your data will include the precise minimum (to within a specifiable isolation time window).

Information available from this Measure:

And if a source derivative is available

The time derivative fdot of f(t)=min_t0_t(s(t')) where s is the source measure and t0 <= t' <= t is

      fdot(t) = s(t) < f(ti) && sdot(t) < 0 ? sdot(t) : 0
 

where ti is the time at the start of the current step.

At the start of a continuous interval, the updated value (if any) replaces the stored value.


Constructor & Destructor Documentation

Minimum_ ( Subsystem sub,
const Measure_< T > &  source,
const Measure_< T > &  sourceDot 
) [inline]

Member Function Documentation

const Measure_<T>& getSourceDerivativeMeasure (  )  const [inline]

References Measure::getImpl().

const Measure_<T>& getSourceMeasure (  )  const [inline]

References Measure::getImpl().

Minimum_& setSourceDerivativeMeasure ( const Measure_< T > &  sdot  )  [inline]

References Measure::updImpl().

Minimum_& setSourceMeasure ( const Measure_< T > &  s  )  [inline]

References Measure::updImpl().

void setValue ( State s,
const T &  value 
) const [inline]

References Measure::getImpl().

SimTK_MEASURE_HANDLE_POSTSCRIPT ( Minimum_< T >  ,
Measure_< T >   
)
SimTK_MEASURE_HANDLE_PREAMBLE ( Minimum_< T >  ,
Measure_< T >   
)

The documentation for this class was generated from the following file:

Generated on Wed Dec 30 11:05:27 2009 for SimTKcore by  doxygen 1.6.1