#include <systemmodel.h>
Public Member Functions | |
| Probability | ProbabilityGet (const T &x_k, const T &x_kminusone, const T &u) |
| Get the probability of arriving in a next state. More... | |
| Probability | ProbabilityGet (const T &x_k, const T &x_kminusone) |
| Get the probability of arriving in a next state. More... | |
| T | Simulate (const T &x, const T &u, int sampling_method=DEFAULT, void *sampling_args=NULL) |
| Simulate the system. More... | |
| T | Simulate (const T &x, int sampling_method=DEFAULT, void *sampling_args=NULL) |
| Simulate the system (no input system) More... | |
| int | StateSizeGet () const |
| Get State Size. More... | |
| SystemModel (ConditionalPdf< T, T > *systempdf=NULL) | |
| Constructor. More... | |
| ConditionalPdf< T, T > * | SystemPdfGet () |
| Get the SystemPDF. More... | |
| void | SystemPdfSet (ConditionalPdf< T, T > *pdf) |
| Set the SystemPDF. More... | |
| bool | SystemWithoutInputs () const |
| Has the system inputs or not. More... | |
| virtual | ~SystemModel () |
| Destructor. More... | |
Protected Attributes | |
| ConditionalPdf< T, T > * | _SystemPdf |
ConditionalPdf representing . More... | |
| bool | _systemWithoutInputs |
| System with no inputs? More... | |
Template class representing all possible (continu and discrete) System Models
Definition at line 48 of file systemmodel.h.
| BFL::SystemModel< T >::SystemModel | ( | ConditionalPdf< T, T > * | systempdf = NULL | ) |
Constructor.
| systempdf | ConditionalPdf<T,T> representing |
Definition at line 21 of file systemmodel.cpp.
|
virtual |
Destructor.
Definition at line 53 of file systemmodel.cpp.
| Probability BFL::SystemModel< T >::ProbabilityGet | ( | const T & | x_k, |
| const T & | x_kminusone, | ||
| const T & | u | ||
| ) |
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 150 of file systemmodel.cpp.
| Probability BFL::SystemModel< T >::ProbabilityGet | ( | const T & | x_k, |
| const T & | x_kminusone | ||
| ) |
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 160 of file systemmodel.cpp.
| T BFL::SystemModel< T >::Simulate | ( | const T & | x, |
| const T & | u, | ||
| int | sampling_method = DEFAULT, |
||
| void * | sampling_args = NULL |
||
| ) |
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 126 of file systemmodel.h.
| T BFL::SystemModel< T >::Simulate | ( | const T & | x, |
| int | sampling_method = DEFAULT, |
||
| void * | sampling_args = NULL |
||
| ) |
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 139 of file systemmodel.h.
| int BFL::SystemModel< T >::StateSizeGet | ( | ) | const |
Get State Size.
Copy constructor SystemModel(const SystemModel<T>& model);
Definition at line 78 of file systemmodel.cpp.
| ConditionalPdf< T, T > * BFL::SystemModel< T >::SystemPdfGet | ( | ) |
Get the SystemPDF.
Definition at line 91 of file systemmodel.cpp.
| void BFL::SystemModel< T >::SystemPdfSet | ( | ConditionalPdf< T, T > * | ) |
Set the SystemPDF.
| a reference to the ConditionalPdf describing the system |
Definition at line 98 of file systemmodel.cpp.
| bool BFL::SystemModel< T >::SystemWithoutInputs | ( | ) | const |
Has the system inputs or not.
Definition at line 84 of file systemmodel.cpp.
|
protected |
ConditionalPdf representing
.
Definition at line 59 of file systemmodel.h.
|
protected |
System with no inputs?
Definition at line 62 of file systemmodel.h.