FunctionStepT< T > Class Template Reference

Implements a deterministic node. More...

#include <MCMC.h>

Inheritance diagram for FunctionStepT< T >:

Inheritance graph
[legend]
Collaboration diagram for FunctionStepT< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FunctionStepT (ParameterT< T > *parameter)
const T Value (void)

Detailed Description

template<typename T>
class FunctionStepT< T >

Implements a deterministic node.

Often parameters of interest are deterministic functions of other statistical parameters. A FunctionStep allows us to express that relationship. DoStep() simply invokes the Function() associated with this parameter and returns the result.

Definition at line 539 of file MCMC.h.


Constructor & Destructor Documentation

template<typename T>
FunctionStepT< T >::FunctionStepT ( ParameterT< T > *  parameter  )  [inline, explicit]

Constructor

Parameters:
parameter Pointer to parameter associated with this step

Definition at line 545 of file MCMC.h.


Member Function Documentation

template<typename T>
const T FunctionStepT< T >::Value ( void   )  [inline]

Return the value associated with this node

The value is returned by the Function() associated with this paramter.

Definition at line 553 of file MCMC.h.


The documentation for this class was generated from the following file:
Generated on Tue Mar 27 16:03:49 2007 for mcmc by  doxygen 1.5.1