MultiAgentDecisionProcess  Release 0.2.1
Simulation Class Reference

Simulation is a class that simulates policies in order to test their control quality. More...

#include <Simulation.h>

+ Inheritance diagram for Simulation:

Public Member Functions

int GetNrRuns () const
int GetRandomSeed () const
bool GetVerbose () const
void SetRandomSeed (int s)
void SetVerbose (bool verbose)
 Simulation (int nrRuns, int seed=illegalRandomSeed)
 Constructor that specifies the number of runs and the random seed.
virtual ~Simulation ()
 Destructor.

Static Protected Attributes

static const int illegalRandomSeed = INT_MAX

Private Attributes

int _m_nrRuns
int _m_random_seed
bool _m_verbose

Detailed Description

Simulation is a class that simulates policies in order to test their control quality.

Definition at line 40 of file Simulation.h.

Constructor & Destructor Documentation

Simulation::Simulation ( int  nrRuns,
int  seed = illegalRandomSeed 
)
inline

Constructor that specifies the number of runs and the random seed.

Definition at line 58 of file Simulation.h.

virtual Simulation::~Simulation ( )
inlinevirtual

Destructor.

Definition at line 66 of file Simulation.h.

Member Function Documentation

int Simulation::GetNrRuns ( ) const
inline
int Simulation::GetRandomSeed ( ) const
inline
void Simulation::SetRandomSeed ( int  s)
inline

Definition at line 73 of file Simulation.h.

References _m_random_seed.

void Simulation::SetVerbose ( bool  verbose)
inline

Definition at line 68 of file Simulation.h.

References _m_verbose.

Referenced by SimulationDecPOMDPDiscrete::SimulationDecPOMDPDiscrete().

Member Data Documentation

int Simulation::_m_nrRuns
private

Definition at line 44 of file Simulation.h.

Referenced by GetNrRuns().

int Simulation::_m_random_seed
private

Definition at line 46 of file Simulation.h.

Referenced by GetRandomSeed(), and SetRandomSeed().

bool Simulation::_m_verbose
private

Definition at line 48 of file Simulation.h.

Referenced by GetVerbose(), and SetVerbose().

const int Simulation::illegalRandomSeed = INT_MAX
staticprotected

Definition at line 52 of file Simulation.h.

Referenced by SimulationDecPOMDPDiscrete::Initialize().


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