#include <systemmodel.h>
Public Member Functions | |
SystemModel (ConditionalPdf< T, T > *systempdf=NULL) | |
Constructor. | |
virtual | ~SystemModel () |
Destructor. | |
int | StateSizeGet () const |
Get State Size. | |
bool | SystemWithoutInputs () const |
Has the system inputs or not. | |
ConditionalPdf< T, T > * | SystemPdfGet () |
Get the SystemPDF. | |
void | SystemPdfSet (ConditionalPdf< T, T > *pdf) |
Set the SystemPDF. | |
T | Simulate (const T &x, const T &u, int sampling_method=DEFAULT, void *sampling_args=NULL) |
Simulate the system. | |
T | Simulate (const T &x, int sampling_method=DEFAULT, void *sampling_args=NULL) |
Simulate the system (no input system). | |
Probability | ProbabilityGet (const T &x_k, const T &x_kminusone, const T &u) |
Get the probability of arriving in a next state. | |
Probability | ProbabilityGet (const T &x_k, const T &x_kminusone) |
Get the probability of arriving in a next state. | |
Protected Attributes | |
ConditionalPdf< T, T > * | _SystemPdf |
ConditionalPdf representing ![]() | |
bool | _systemWithoutInputs |
System with no inputs? |
Definition at line 48 of file systemmodel.h.
SystemModel | ( | ConditionalPdf< T, T > * | systempdf = NULL |
) | [inline] |
Constructor.
systempdf | ConditionalPdf<T,T> representing ![]() |
Definition at line 173 of file systemmodel.h.
int StateSizeGet | ( | ) | const [inline] |
Get State Size.
Copy constructor SystemModel(const SystemModel<T>& model);
Definition at line 230 of file systemmodel.h.
ConditionalPdf< T, T > * SystemPdfGet | ( | ) | [inline] |
Get the SystemPDF.
Definition at line 243 of file systemmodel.h.
void SystemPdfSet | ( | ConditionalPdf< T, T > * | ) | [inline] |
Set the SystemPDF.
a reference to the ConditionalPdf describing the system |
Definition at line 250 of file systemmodel.h.
T Simulate | ( | const T & | x, | |
const T & | u, | |||
int | sampling_method = DEFAULT , |
|||
void * | sampling_args = NULL | |||
) | [inline] |
Simulate the system.
x | current state of the system | |
u | input to the system |
sampling_method | the sampling method to be used while sampling from the Conditional Pdf describing the system (if not specified = DEFAULT) | |
sampling_args | Sometimes a sampling method can have some extra parameters (eg mcmc sampling) |
Definition at line 277 of file systemmodel.h.
T Simulate | ( | const T & | x, | |
int | sampling_method = DEFAULT , |
|||
void * | sampling_args = NULL | |||
) | [inline] |
Simulate the system (no input system).
x | current state of the system |
sampling_method | the sampling method to be used while sampling from the Conditional Pdf describing the system (if not specified = DEFAULT) | |
sampling_args | Sometimes a sampling method can have some extra parameters (eg mcmc sampling) |
Definition at line 290 of file systemmodel.h.
Probability ProbabilityGet | ( | const T & | x_k, | |
const T & | x_kminusone, | |||
const T & | u | |||
) | [inline] |
Get the probability of arriving in a next state.
x_k | the next state (at time k) | |
x_kminusone | the current state (at time k-1) | |
u | the input |
Definition at line 302 of file systemmodel.h.
Probability ProbabilityGet | ( | const T & | x_k, | |
const T & | x_kminusone | |||
) | [inline] |
Get the probability of arriving in a next state.
(no-input-system)
x_k | the next state (at time k) | |
x_kminusone | the current state (at time k-1) |
Definition at line 312 of file systemmodel.h.