3 #include <adt/bintree/IBinaryTreeNode.h>
18 template <
typename InputType,
typename OutputType>
33 virtual OutputType
eval(InputType
const x)
const = 0;
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.