#include <discretesystemmodel.h>

Public Member Functions | |
| DiscreteSystemModel (DiscreteConditionalPdf *systempdf=NULL) | |
| Constructor. | |
| virtual | ~DiscreteSystemModel () |
| Destructor. | |
| DiscreteSystemModel (const DiscreteSystemModel &) | |
| Copy constructor. | |
| unsigned int | NumStatesGet () const |
| Get the number of discrete states. | |
| int | StateSizeGet () const |
| Get State Size. | |
| bool | SystemWithoutInputs () const |
| Has the system inputs or not. | |
| ConditionalPdf< int, int > * | SystemPdfGet () |
| Get the SystemPDF. | |
| void | SystemPdfSet (ConditionalPdf< int, int > *pdf) |
| Set the SystemPDF. | |
| int | Simulate (const int &x, const int &u, int sampling_method=DEFAULT, void *sampling_args=NULL) |
| Simulate the system. | |
| int | Simulate (const int &x, int sampling_method=DEFAULT, void *sampling_args=NULL) |
| Simulate the system (no input system). | |
| Probability | ProbabilityGet (const int &x_k, const int &x_kminusone, const int &u) |
| Get the probability of arriving in a next state. | |
| Probability | ProbabilityGet (const int &x_k, const int &x_kminusone) |
| Get the probability of arriving in a next state. | |
Protected Attributes | |
| ConditionalPdf< int, int > * | _SystemPdf |
ConditionalPdf representing . | |
| bool | _systemWithoutInputs |
| System with no inputs? | |
Class representing discrete System Models, ie. System Models for which _BOTH_ states and inputs are discrete variables!
Definition at line 30 of file discretesystemmodel.h.
| DiscreteSystemModel | ( | DiscreteConditionalPdf * | systempdf = NULL |
) |
Constructor.
| systempdf | ConditionalPdf<int> representing P(X_k | X_{k-1}, U_{k}) |
| Probability ProbabilityGet | ( | const int & | x_k, | |
| const int & | x_kminusone | |||
| ) | [inherited] |
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) |
| Probability ProbabilityGet | ( | const int & | x_k, | |
| const int & | x_kminusone, | |||
| const int & | u | |||
| ) | [inherited] |
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 |
| int Simulate | ( | const int & | x, | |
| int | sampling_method = DEFAULT, |
|||
| void * | sampling_args = NULL | |||
| ) | [inherited] |
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) |
| int Simulate | ( | const int & | x, | |
| const int & | u, | |||
| int | sampling_method = DEFAULT, |
|||
| void * | sampling_args = NULL | |||
| ) | [inherited] |
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) |
| int StateSizeGet | ( | ) | const [inherited] |
Get State Size.
Copy constructor SystemModel(const SystemModel<T>& model);
| ConditionalPdf<int ,int >* SystemPdfGet | ( | ) | [inherited] |
Get the SystemPDF.
| void SystemPdfSet | ( | ConditionalPdf< int , int > * | ) | [inherited] |
Set the SystemPDF.
| a reference to the ConditionalPdf describing the system |
1.5.9