Multivariate Point Process Package  0.1
Public Member Functions | List of all members
Simulator Class Referenceabstract

Simulator defines a general simulator for point processes. More...

#include "include/Simulator.h"

Inheritance diagram for Simulator:
OgataThinning

Public Member Functions

virtual void Simulate (IProcess &process, const std::vector< double > &vec_T, std::vector< Sequence > &sequences)=0
 
virtual void Simulate (IProcess &process, const unsigned &n, const unsigned &num_sequences, std::vector< Sequence > &sequences)=0
 
virtual Event SimulateNext (IProcess &process, const Sequence &data)=0
 

Detailed Description

Simulator defines a general simulator for point processes.

Definition at line 15 of file Simulator.h.

Member Function Documentation

virtual void Simulator::Simulate ( IProcess process,
const std::vector< double > &  vec_T,
std::vector< Sequence > &  sequences 
)
pure virtual

Simulates collection of sequences before the observation window in vec_T;

Parameters
[in]processthe parameters of the specific process we are going to simulate from.
[in]vec_Tthe collection of obsrvation window before which we can simualte the events. The numbef of elements in vec_T determins how many sequences we want to simulate. Each element of vec_T is the observation window wrt the respetive sequence.
[out]sequencesthe simulated sequences. The number of elements in sequences is the same as that in vec_T;

Implemented in OgataThinning.

virtual void Simulator::Simulate ( IProcess process,
const unsigned &  n,
const unsigned &  num_sequences,
std::vector< Sequence > &  sequences 
)
pure virtual

Simulates collection of sequences, each of which has \(n\) events.

Parameters
processthe parameters of the specific process we are going to simulate from.
nthe number of events we are going to simualte in each sequence.
num_sequencesthe number of sequence we are going to simulate.
sequencesthe simulated sequences. The number of elements in sequences is the same as num_sequences.

Implemented in OgataThinning.

virtual Event Simulator::SimulateNext ( IProcess process,
const Sequence data 
)
pure virtual

Simulates the next single event.

Parameters
processthe parameters of the specific process we are going to simulate from.
datathe sequence of past events.
Returns
the simulated next event.

Implemented in OgataThinning.


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