CDiscreteStateOperatorAnd Class Reference
The
and operator combines several discrete states to one discrete
state. More...
#include <cdiscretizer.h>
Inheritance diagram for CDiscreteStateOperatorAnd:
List of all
members.
Detailed Description
The and operator combines several discrete states to one discrete
state.
Combination the discrete states by the and operator. Several
discrete state variables are transformed to one non-ambiguous
discrete state variable. The state size of the new state is the
product of all state sizes.
When the operator is created, it is empty and has no discrete
states to combine, you can add as many discrete states as you want
with the function addStateModifier. The class is often use in
combination with CSingleStateDiscretizer
because here you have several discrete states variables comming
from the single state discretizer (usually you will have 1
discretizer for each dimension of your model state) and you need to
combine these discrete state numbers to one unique discrete state
number for your learners.
Constructor & Destructor Documentation
|
CDiscreteStateOperatorAnd::CDiscreteStateOperatorAnd
|
( |
|
) |
|
|
| virtual
CDiscreteStateOperatorAnd::~CDiscreteStateOperatorAnd
|
( |
|
) |
[virtual] |
|
Member Function Documentation
| |
Add the discrete state to the operator.
|
| virtual unsigned int
CDiscreteStateOperatorAnd::getDiscreteStateNumber
|
( |
CStateCollection *
|
state |
) |
[virtual] |
|
| |
Calculates the discrete state index as a "and" combination of
all added discrete states.
Implements CAbstractStateDiscretizer.
|
Member Data Documentation
The documentation for this class was generated from the following
file:
|