MultiAgentDecisionProcess
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:
[legend]

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. More...
 
virtual ~Simulation ()
 Destructor. More...
 

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.

Constructor & Destructor Documentation

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

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

virtual Simulation::~Simulation ( )
inlinevirtual

Destructor.

Member Function Documentation

void Simulation::SetRandomSeed ( int  s)
inline
void Simulation::SetVerbose ( bool  verbose)
inline

Member Data Documentation

int Simulation::_m_nrRuns
private
int Simulation::_m_random_seed
private
bool Simulation::_m_verbose
private
const int Simulation::illegalRandomSeed =INT_MAX
staticprotected