Tree Compression with Top Trees Revisited
Public Member Functions | Public Attributes | Friends | List of all members
NavigationRecord Struct Reference

Represents an entry in the DAG stack. More...

#include <Navigation.h>

Public Member Functions

 NavigationRecord ()
 Create a blank navigation record. More...
 
 NavigationRecord (int node, int parent, bool left)
 

Public Attributes

int nodeId
 
int parentId
 
bool left
 

Friends

std::ostream & operator<< (std::ostream &os, const NavigationRecord &record)
 

Detailed Description

Represents an entry in the DAG stack.

Definition at line 9 of file Navigation.h.

Constructor & Destructor Documentation

NavigationRecord::NavigationRecord ( )
inline

Create a blank navigation record.

Definition at line 14 of file Navigation.h.

NavigationRecord::NavigationRecord ( int  node,
int  parent,
bool  left 
)
inline

Create a new navigation record

Parameters
nodenode to which we moved
parentnode from which we came
leftwhether we went into parent's left child to get to node

Definition at line 19 of file Navigation.h.

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const NavigationRecord record 
)
friend

Definition at line 21 of file Navigation.h.

Member Data Documentation

bool NavigationRecord::left

Definition at line 12 of file Navigation.h.

int NavigationRecord::nodeId

Definition at line 10 of file Navigation.h.

int NavigationRecord::parentId

Definition at line 11 of file Navigation.h.


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