Main MRPT website > C++ reference for MRPT 1.5.9
List of all members | Public Member Functions | Public Attributes
mrpt::nav::TMoveTree< NODE_TYPE_DATA, EDGE_TYPE, MAPS_IMPLEMENTATION >::node_t Struct Reference

Detailed Description

template<class NODE_TYPE_DATA, class EDGE_TYPE, class MAPS_IMPLEMENTATION = mrpt::utils::map_traits_map_as_vector>
struct mrpt::nav::TMoveTree< NODE_TYPE_DATA, EDGE_TYPE, MAPS_IMPLEMENTATION >::node_t

Definition at line 55 of file TMoveTree.h.

#include <mrpt/nav/planners/TMoveTree.h>

Inheritance diagram for mrpt::nav::TMoveTree< NODE_TYPE_DATA, EDGE_TYPE, MAPS_IMPLEMENTATION >::node_t:
Inheritance graph

Public Member Functions

 node_t (mrpt::utils::TNodeID node_id_, mrpt::utils::TNodeID parent_id_, EDGE_TYPE *edge_to_parent_, const NODE_TYPE_DATA &data)
 
 node_t ()
 

Public Attributes

mrpt::utils::TNodeID node_id
 Duplicated ID (it's also in the map::iterator->first), but put here to make it available in path_t. More...
 
mrpt::utils::TNodeID parent_id
 INVALID_NODEID for the root, a valid ID otherwise. More...
 
EDGE_TYPE * edge_to_parent
 NULL for root, a valid edge otherwise. More...
 

Constructor & Destructor Documentation

◆ node_t() [1/2]

template<class NODE_TYPE_DATA , class EDGE_TYPE , class MAPS_IMPLEMENTATION = mrpt::utils::map_traits_map_as_vector>
mrpt::nav::TMoveTree< NODE_TYPE_DATA, EDGE_TYPE, MAPS_IMPLEMENTATION >::node_t::node_t ( mrpt::utils::TNodeID  node_id_,
mrpt::utils::TNodeID  parent_id_,
EDGE_TYPE *  edge_to_parent_,
const NODE_TYPE_DATA &  data 
)
inline

Definition at line 60 of file TMoveTree.h.

◆ node_t() [2/2]

template<class NODE_TYPE_DATA , class EDGE_TYPE , class MAPS_IMPLEMENTATION = mrpt::utils::map_traits_map_as_vector>
mrpt::nav::TMoveTree< NODE_TYPE_DATA, EDGE_TYPE, MAPS_IMPLEMENTATION >::node_t::node_t ( )
inline

Definition at line 66 of file TMoveTree.h.

Member Data Documentation

◆ edge_to_parent

template<class NODE_TYPE_DATA , class EDGE_TYPE , class MAPS_IMPLEMENTATION = mrpt::utils::map_traits_map_as_vector>
EDGE_TYPE* mrpt::nav::TMoveTree< NODE_TYPE_DATA, EDGE_TYPE, MAPS_IMPLEMENTATION >::node_t::edge_to_parent

NULL for root, a valid edge otherwise.

Definition at line 59 of file TMoveTree.h.

◆ node_id

template<class NODE_TYPE_DATA , class EDGE_TYPE , class MAPS_IMPLEMENTATION = mrpt::utils::map_traits_map_as_vector>
mrpt::utils::TNodeID mrpt::nav::TMoveTree< NODE_TYPE_DATA, EDGE_TYPE, MAPS_IMPLEMENTATION >::node_t::node_id

Duplicated ID (it's also in the map::iterator->first), but put here to make it available in path_t.

Definition at line 57 of file TMoveTree.h.

◆ parent_id

template<class NODE_TYPE_DATA , class EDGE_TYPE , class MAPS_IMPLEMENTATION = mrpt::utils::map_traits_map_as_vector>
mrpt::utils::TNodeID mrpt::nav::TMoveTree< NODE_TYPE_DATA, EDGE_TYPE, MAPS_IMPLEMENTATION >::node_t::parent_id

INVALID_NODEID for the root, a valid ID otherwise.

Definition at line 58 of file TMoveTree.h.

Referenced by mrpt::nav::TMoveTree< NODE_TYPE_DATA, EDGE_TYPE, MAPS_IMPLEMENTATION >::backtrackPath().




Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020