Pixie
Loading...
Searching...
No Matches
pixie::TreeNode Struct Reference

Logical node handle shared by succinct rooted-tree encodings. More...

#include <tree.h>

Public Member Functions

 TreeNode (std::size_t node_number, std::size_t representation_position)
 Construct a node handle.
 

Public Attributes

std::size_t number
 Logical node number in the encoding's traversal order.
 
std::size_t pos
 Bit position representing the node in the succinct encoding.
 

Detailed Description

Logical node handle shared by succinct rooted-tree encodings.

Constructor & Destructor Documentation

◆ TreeNode()

pixie::TreeNode::TreeNode ( std::size_t node_number,
std::size_t representation_position )
inline

Construct a node handle.

Parameters
node_numberLogical node number.
representation_positionPosition in the succinct representation.

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