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

CContinuousTimeMonteCarloMover Class Reference

#include <ContinuousTimeMonteCarloMover.h>

Inheritance diagram for CContinuousTimeMonteCarloMover:

Inheritance graph
[legend]
Collaboration diagram for CContinuousTimeMonteCarloMover:

Collaboration graph
[legend]
List of all members.

Public Methods

 CContinuousTimeMonteCarloMover ()
 CContinuousTimeMonteCarloMover (int seed, double frequency)
virtual ~CContinuousTimeMonteCarloMover ()
void Move (double xInitial, double xFinal, ReactionNetwork *pReactionNetwork)
double ChooseMove (double rand1, double rand2)
void DoMove ()

Private Attributes

Randm_pRNG
int m_dChannelChosen

Constructor & Destructor Documentation

CContinuousTimeMonteCarloMover::CContinuousTimeMonteCarloMover  
 

Definition at line 11 of file ContinuousTimeMonteCarloMover.cpp.

CContinuousTimeMonteCarloMover::CContinuousTimeMonteCarloMover int    seed,
double    frequency
 

Definition at line 16 of file ContinuousTimeMonteCarloMover.cpp.

References m_pRNG, and Rand::seed.

CContinuousTimeMonteCarloMover::~CContinuousTimeMonteCarloMover   [virtual]
 

Definition at line 23 of file ContinuousTimeMonteCarloMover.cpp.

References m_pRNG.


Member Function Documentation

double CContinuousTimeMonteCarloMover::ChooseMove double    rand1,
double    rand2
 

Definition at line 72 of file ContinuousTimeMonteCarloMover.cpp.

References ReactionNetwork::GetNumberOfReactions, ReactionNetwork::GetReactionRates, m_dChannelChosen, and CReactionMover::m_pReactionNetwork.

Referenced by Move.

void CContinuousTimeMonteCarloMover::DoMove  
 

Definition at line 118 of file ContinuousTimeMonteCarloMover.cpp.

References Reaction::DoReactionOnce, ReactionNetwork::GetReaction, and CReactionMover::m_pReactionNetwork.

Referenced by Move.

void CContinuousTimeMonteCarloMover::Move double    xInitial,
double    xFinal,
ReactionNetwork   pReactionNetwork
[virtual]
 

Implements CReactionMover.

Definition at line 28 of file ContinuousTimeMonteCarloMover.cpp.

References ChooseMove, DoMove, CReactionMover::m_dTime, CReactionMover::m_iCount, CReactionMover::m_pReactionNetwork, m_pRNG, CReactionMover::MoveTimeIsZero, Subject::Notify, and Rand::uniform.


Member Data Documentation

int CContinuousTimeMonteCarloMover::m_dChannelChosen [private]
 

Definition at line 26 of file ContinuousTimeMonteCarloMover.h.

Referenced by ChooseMove.

Rand* CContinuousTimeMonteCarloMover::m_pRNG [private]
 

Definition at line 25 of file ContinuousTimeMonteCarloMover.h.

Referenced by CContinuousTimeMonteCarloMover, Move, and ~CContinuousTimeMonteCarloMover.


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