Interface of abstract visitor used in tree traversal methods.
More...
- Deprecated:
- This item will be removed in a future release.
- References
-
virtual bool onLeafNode |
( |
size_t |
level, |
|
|
double |
response |
|
) |
| |
|
pure virtual |
This method is called by traversal method when a leaf node is visited.
- Parameters
-
[in] | level | Level in the tree where this node is located |
[in] | response | The value of response given by that node |
- Returns
- This method should return false to cancel further search and true otherwise
virtual bool onSplitNode |
( |
size_t |
level, |
|
|
size_t |
featureIndex, |
|
|
double |
featureValue |
|
) |
| |
|
pure virtual |
This method is called by traversal method when a split node is visited.
- Parameters
-
[in] | level | Index of the feature used in a split criteria |
[in] | featureIndex | Index of the feature used as a split criteria in this node |
[in] | featureValue | Feature value used as a split criteria in this node |
- Returns
- This method should return false to cancel further search and true otherwise
The documentation for this class was generated from the following file: