Class SBL::Motion

Nested Relationships

This class is a nested type of Class SBL.

Class Documentation

class Motion

Representation of a motion.

Public Functions

Motion() = default

Default constructor. Allocates no memory.

inline Motion(const base::SpaceInformationPtr &si)

Constructor that allocates storage for a state.

Public Members

const base::State *root = {nullptr}

The root of the tree this motion would get to, if we were to follow parent pointers.

base::State *state = {nullptr}

The state this motion leads to.

Motion *parent = {nullptr}

The parent motion — it contains the state this motion originates at.

bool valid = {false}

Flag indicating whether this motion has been checked for validity.

std::vector<Motion*> children

The set of motions descending from the current motion.