CModelStateDiscretizer Class Reference
Class
calculating a single discrete state from several state variables.
More...
#include <cdiscretizer.h>
Inheritance diagram for CModelStateDiscretizer:
List of all
members.
Detailed Description
Class calculating a single discrete state from several state
variables.
The class calcualtes from several discrete state variables of
the original state (defined by the given state properties in the
constructor) a single discrete state number. This is done by an
"and" combination of the discrete state variables. You can also
choose which discrete state variables you want in the
constructor.
- See also:
- CDiscreteStateOperatorAnd
Constructor & Destructor Documentation
|
CModelStateDiscretizer::CModelStateDiscretizer
|
( |
CStateProperties *
|
properties,
|
|
|
int * |
discretStates =
NULL,
|
|
|
unsigned int |
numDiscreteStates =
0 |
|
) |
|
|
| |
Creates an ModelStateDiscretizer which use the state defined by
the properties as original state.
With the parameter *discretStates you can choose the discrete
state variables you want for your new discrete state. If you omit
this parameter all discrete state from the original state are
choosen. The properties object are the properties of the original
state (most time the model state)
|
| virtual
CModelStateDiscretizer::~CModelStateDiscretizer
|
( |
|
) |
[virtual] |
|
Member Function Documentation
| unsigned int
CModelStateDiscretizer::calcDiscreteStateSize
|
( |
CStateProperties *
|
prop,
|
|
|
int * |
discreteStates,
|
|
|
unsigned int |
num |
|
) |
[protected] |
|
| virtual unsigned int
CModelStateDiscretizer::getDiscreteStateNumber
|
( |
CStateCollection *
|
state |
) |
[virtual] |
|
| |
Calculates the discrete State Number using the and operator for
all discrete state variable of the orignal state.
Implements CAbstractStateDiscretizer.
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|