Multivariate Point Process Package
0.1
|
Simulator defines a general simulator for point processes. More...
#include "include/Simulator.h"
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 |
Simulator defines a general simulator for point processes.
Definition at line 15 of file Simulator.h.
|
pure virtual |
Simulates collection of sequences before the observation window in vec_T;
[in] | process | the parameters of the specific process we are going to simulate from. |
[in] | vec_T | the 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] | sequences | the simulated sequences. The number of elements in sequences is the same as that in vec_T; |
Implemented in OgataThinning.
|
pure virtual |
Simulates collection of sequences, each of which has \(n\) events.
process | the parameters of the specific process we are going to simulate from. |
n | the number of events we are going to simualte in each sequence. |
num_sequences | the number of sequence we are going to simulate. |
sequences | the simulated sequences. The number of elements in sequences is the same as num_sequences. |
Implemented in OgataThinning.
Simulates the next single event.
process | the parameters of the specific process we are going to simulate from. |
data | the sequence of past events. |
Implemented in OgataThinning.