Helios++
Helios software for LiDAR simulations
IExprTreeNode.h
1 #pragma once
2 
3 #include <adt/bintree/IBinaryTreeNode.h>
4 
18 template <typename InputType, typename OutputType>
20 public:
21  // *** CONSTRUCTION / DESTRUCTION *** //
22  // ************************************ //
23  virtual ~IExprTreeNode() = default;
24 
25  // *** EXPRESSION TREE NODE INTERFACE *** //
26  // *************************************** //
33  virtual OutputType eval(InputType const x) const = 0;
34 };
Binary tree node interface that must be implemented by any class providing binary tree node based fun...
Definition: IBinaryTreeNode.h:10
Interface extending the Binary Tree node definition to become a Expression Tree node....
Definition: IExprTreeNode.h:19
virtual OutputType eval(InputType const x) const =0
Evaluate the given node. In doing so, children nodes will be evaluated if necessary.