Representation of a motion. More...
#include <Syclop.h>
Public Member Functions | |
Motion (const SpaceInformation *si) | |
Constructor that allocates memory for the state and the control. | |
Public Attributes | |
base::State * | state |
The state contained by the motion. | |
Control * | control |
The control contained by the motion. | |
const Motion * | parent |
The parent motion in the tree. | |
unsigned int | steps |
The number of steps for which the control is applied. | |
Representation of a motion.
A motion contains pointers to its state, its parent motion, and the control that was applied to get from its parent to its state.