Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CEnsembleRunDirector Class Reference

#include <EnsembleRunDirector.h>

Inheritance diagram for CEnsembleRunDirector:

Inheritance graph
[legend]
Collaboration diagram for CEnsembleRunDirector:

Collaboration graph
[legend]
List of all members.

Public Methods

 CEnsembleRunDirector (int ensembleSize)
virtual ~CEnsembleRunDirector ()
void LoadEnsembleInfo (std::string parameterFile)
void SumAllocate ()
void Execute ()
void ConvertToStatistics ()
const double ** GetAverages (int index) const
const double ** GetStdDevs (int index) const

Protected Attributes

int m_iEnsembleSize
std::vector< double * > m_vpdEnsembleParameters
std::vector< double ** > m_vpdSumC
std::vector< double ** > m_vpdSumCSqr
std::vector< GnuPlotterEnsembleRunDirectorObserver * > m_vpEnsemblePlotters

Constructor & Destructor Documentation

CEnsembleRunDirector::CEnsembleRunDirector int    ensembleSize
 

Definition at line 11 of file EnsembleRunDirector.cpp.

References m_iEnsembleSize.

CEnsembleRunDirector::~CEnsembleRunDirector   [virtual]
 

Definition at line 16 of file EnsembleRunDirector.cpp.

References m_vpdEnsembleParameters, m_vpdSumC, m_vpdSumCSqr, and m_vpEnsemblePlotters.


Member Function Documentation

void CEnsembleRunDirector::ConvertToStatistics  
 

Definition at line 129 of file EnsembleRunDirector.cpp.

References m_iEnsembleSize, m_vpdSumC, m_vpdSumCSqr, and CRunDirector::m_vpRunnables.

Referenced by Execute.

void CEnsembleRunDirector::Execute   [virtual]
 

Reimplemented from CRunDirector.

Definition at line 83 of file EnsembleRunDirector.cpp.

References ConvertToStatistics, m_iEnsembleSize, m_vpdEnsembleParameters, m_vpdSumC, m_vpdSumCSqr, CRunDirector::m_vpRunnables, and Subject::Notify.

const double** CEnsembleRunDirector::GetAverages int    index const [inline]
 

Definition at line 28 of file EnsembleRunDirector.h.

References m_vpdSumC.

const double** CEnsembleRunDirector::GetStdDevs int    index const [inline]
 

Definition at line 29 of file EnsembleRunDirector.h.

References m_vpdSumCSqr.

void CEnsembleRunDirector::LoadEnsembleInfo std::string    parameterFile
 

Definition at line 64 of file EnsembleRunDirector.cpp.

References m_iEnsembleSize, m_vpdEnsembleParameters, CRunDirector::m_vpRunnables, and ParameterReader::ReadParameter.

Referenced by COneGeneEnsembleRunDirector::COneGeneEnsembleRunDirector.

void CEnsembleRunDirector::SumAllocate  
 

Definition at line 36 of file EnsembleRunDirector.cpp.

References m_vpdSumC, m_vpdSumCSqr, and CRunDirector::m_vpRunnables.

Referenced by COneGeneEnsembleRunDirector::COneGeneEnsembleRunDirector.


Member Data Documentation

int CEnsembleRunDirector::m_iEnsembleSize [protected]
 

Definition at line 31 of file EnsembleRunDirector.h.

Referenced by CEnsembleRunDirector, ConvertToStatistics, Execute, and LoadEnsembleInfo.

std::vector<double *> CEnsembleRunDirector::m_vpdEnsembleParameters [protected]
 

Definition at line 32 of file EnsembleRunDirector.h.

Referenced by Execute, LoadEnsembleInfo, and ~CEnsembleRunDirector.

std::vector<double **> CEnsembleRunDirector::m_vpdSumC [protected]
 

Definition at line 33 of file EnsembleRunDirector.h.

Referenced by ConvertToStatistics, Execute, GetAverages, SumAllocate, and ~CEnsembleRunDirector.

std::vector<double **> CEnsembleRunDirector::m_vpdSumCSqr [protected]
 

Definition at line 34 of file EnsembleRunDirector.h.

Referenced by ConvertToStatistics, Execute, GetStdDevs, SumAllocate, and ~CEnsembleRunDirector.

std::vector<GnuPlotterEnsembleRunDirectorObserver *> CEnsembleRunDirector::m_vpEnsemblePlotters [protected]
 

Definition at line 35 of file EnsembleRunDirector.h.

Referenced by COneGeneEnsembleRunDirector::COneGeneEnsembleRunDirector, and ~CEnsembleRunDirector.


The documentation for this class was generated from the following files:
Generated on Mon Nov 3 10:02:34 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002