Helios++
Helios software for LiDAR simulations
IBinaryTreeNode Class Referenceabstract

Binary tree node interface that must be implemented by any class providing binary tree node based functionalities. More...

#include <IBinaryTreeNode.h>

Inheritance diagram for IBinaryTreeNode:

Public Member Functions

virtual IBinaryTreeNodegetLeftChild () const =0
 Obtain the left child of current node. More...
 
virtual IBinaryTreeNodegetRightChild () const =0
 Obtain the right child of current node. More...
 
virtual bool isLeafNode () const
 Check whether current node is a leaf node (true) or not (false) More...
 

Detailed Description

Binary tree node interface that must be implemented by any class providing binary tree node based functionalities.

Author
Alberto M. Esmoris Pena @verison 1.0

Member Function Documentation

◆ getLeftChild()

virtual IBinaryTreeNode* IBinaryTreeNode::getLeftChild ( ) const
pure virtual

Obtain the left child of current node.

Returns
Left child

Implemented in LightKDTreeNode, and UnivarExprTreeNode< NumericType >.

◆ getRightChild()

virtual IBinaryTreeNode* IBinaryTreeNode::getRightChild ( ) const
pure virtual

Obtain the right child of current node.

Returns
Right child

Implemented in LightKDTreeNode, and UnivarExprTreeNode< NumericType >.

◆ isLeafNode()

virtual bool IBinaryTreeNode::isLeafNode ( ) const
inlinevirtual

Check whether current node is a leaf node (true) or not (false)

Returns
True if current node is a leaf node, false otherwise

Reimplemented in UnivarExprTreeNode< NumericType >.


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