Struct CDirectedTree::TEdgeInfo

Nested Relationships

This struct is a nested type of Template Class CDirectedTree.

Struct Documentation

struct TEdgeInfo

Public Functions

inline TEdgeInfo(TNodeID child_id_, bool direction_child_to_parent = false, const TYPE_EDGES &edge_data = TYPE_EDGES())

Edge constructor from data

Public Members

TNodeID id

The ID of the child node.

bool reverse

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

TYPE_EDGES data

User data for this edge.