eosim::dist::DistManager Class Reference
[Running Simulations]

#include <eosim/dist/distmanager.hpp>

Collaboration diagram for eosim::dist::DistManager:

Collaboration graph
[legend]
List of all members.

Detailed Description

Distribution Manager.

Author:
Sebastián Alaggia
Version:
1.0.1
Date:
2005
This class handles a set of distributions. Its main responsibility is to perform operations to the whole set. It contains a seed generator to assign new seeds for the distributions registered.


Public Member Functions

 DistManager (GenType seedGenerator)
 The constructor creates an empty DistManager with a seed generator of type seedGenerator.
 ~DistManager ()
 The destructor of DistManager.
void setSeed (unsigned long seed)
 This operation sets a new seed to every distribution registered.
void registerDist (Distribution *d)
 This operation register d in the DistManager.


Constructor & Destructor Documentation

DistManager::~DistManager (  ) 

The destructor of DistManager.

Note:
This operation don’t delete any registered distribution.


Member Function Documentation

void DistManager::setSeed ( unsigned long  seed  ) 

This operation sets a new seed to every distribution registered.

Note:
It uses both seed and its seed generator for assigning new seed to every registered distribution.


Generated on Tue Oct 14 16:48:52 2008 for EOSimulator by  doxygen 1.5.2