The CState object saves the values of state-variables. There are
discrete and continuous state variables. The number of discrete and
continuous state variables are taken from the CStateProperties object.
These values stand for the maximum number of continuous resp.
discrete states, the arrays are created with this size. The
attributes numActiveContinuousStates resp numActiveDiscreteStates
stand for the used state variables by the actual state, these
values can differ from the maximum values especially with feature
states. These values are used to gain performance when updtating
the Q-Function, so you only have to look at the first, active state
variables. States can be of type DISCRETESTATE, FEATURESTATE or a
normal state. The type is specified in the state properties.