MRPT  2.0.0
List of all members | Public Member Functions | Public Attributes
mrpt::graphs::CDirectedTree< TYPE_EDGES >::TEdgeInfo Struct Reference

Detailed Description

template<class TYPE_EDGES = uint8_t>
struct mrpt::graphs::CDirectedTree< TYPE_EDGES >::TEdgeInfo

Definition at line 54 of file CDirectedTree.h.

#include <mrpt/graphs/CDirectedTree.h>

Public Member Functions

 TEdgeInfo (TNodeID child_id_, bool direction_child_to_parent=false, const TYPE_EDGES &edge_data=TYPE_EDGES())
 Edge constructor from data. More...
 

Public Attributes

TNodeID id
 The ID of the child node. More...
 
bool reverse
 True if edge direction is child->parent, false if it's parent->child. More...
 
TYPE_EDGES data
 User data for this edge. More...
 

Constructor & Destructor Documentation

◆ TEdgeInfo()

template<class TYPE_EDGES = uint8_t>
mrpt::graphs::CDirectedTree< TYPE_EDGES >::TEdgeInfo::TEdgeInfo ( TNodeID  child_id_,
bool  direction_child_to_parent = false,
const TYPE_EDGES &  edge_data = TYPE_EDGES() 
)
inline

Edge constructor from data.

Definition at line 65 of file CDirectedTree.h.

Member Data Documentation

◆ data

template<class TYPE_EDGES = uint8_t>
TYPE_EDGES mrpt::graphs::CDirectedTree< TYPE_EDGES >::TEdgeInfo::data

User data for this edge.

Definition at line 62 of file CDirectedTree.h.

◆ id

template<class TYPE_EDGES = uint8_t>
TNodeID mrpt::graphs::CDirectedTree< TYPE_EDGES >::TEdgeInfo::id

The ID of the child node.

Definition at line 57 of file CDirectedTree.h.

◆ reverse

template<class TYPE_EDGES = uint8_t>
bool mrpt::graphs::CDirectedTree< TYPE_EDGES >::TEdgeInfo::reverse

True if edge direction is child->parent, false if it's parent->child.

Definition at line 60 of file CDirectedTree.h.




Page generated by Doxygen 1.8.14 for MRPT 2.0.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020