bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::planning::SearchResult< Node > Struct Template Reference

What a search found. More...

#include <a_star_search.h>

Public Attributes

bool found {false}
 whether the goal was reached
std::vector< Node > path
 from the start to the goal, both included; empty if not found
real_t cost {0.0}
 the cost of the path
uint_t n_expanded {0}
 how many nodes the search took off its open list

Detailed Description

template<typename Node>
struct bitsim::planning::SearchResult< Node >

What a search found.

Member Data Documentation

◆ cost

template<typename Node>
real_t bitsim::planning::SearchResult< Node >::cost {0.0}

the cost of the path

◆ found

template<typename Node>
bool bitsim::planning::SearchResult< Node >::found {false}

whether the goal was reached

◆ n_expanded

template<typename Node>
uint_t bitsim::planning::SearchResult< Node >::n_expanded {0}

how many nodes the search took off its open list

◆ path

template<typename Node>
std::vector<Node> bitsim::planning::SearchResult< Node >::path

from the start to the goal, both included; empty if not found


The documentation for this struct was generated from the following file: