Struct StateSpace::SubstateLocation

Nested Relationships

This struct is a nested type of Class StateSpace.

Struct Documentation

struct SubstateLocation

Representation of the address of a substate in a state. This structure stores the indexing information needed to access a particular substate of a state.

Public Members

std::vector<std::size_t> chain

In a complex state space there may be multiple compound state spaces that make up an even larger compound space. This array indicates the sequence of indices of the subspaces that need to be followed to get to the component of the state that is of interest.

const StateSpace *space

The space that is reached if the chain above is followed on the state space.