Struct Edge

Struct Documentation

struct Edge

A struct for basic edge data.

Public Functions

Edge() = default

The default constructor. This is necessary because OMPL’s heap requires elements to be default constructible.

Edge(const std::shared_ptr<State> &source, const std::shared_ptr<State> &target)

Construct the edge by providing source and target states.

~Edge() = default

Destruct the edge.

Public Members

std::shared_ptr<State> source

The parent state of this edge.

std::shared_ptr<State> target

The child state of this edge.