Point Cloud Library (PCL)
1.14.1-dev
|
Interface for branch estimators. More...
#include <pcl/ml/branch_estimator.h>
Public Member Functions | |
virtual | ~BranchEstimator ()=default |
Destructor. More... | |
virtual std::size_t | getNumOfBranches () const =0 |
Returns the number of branches the corresponding tree has. More... | |
virtual void | computeBranchIndex (const float result, const unsigned char flag, const float threshold, unsigned char &branch_index) const =0 |
Computes the branch index for the specified result. More... | |
Interface for branch estimators.
Definition at line 47 of file branch_estimator.h.
|
virtualdefault |
Destructor.
|
pure virtual |
Computes the branch index for the specified result.
[in] | result | the result the branch index will be computed for |
[in] | flag | the flag corresponding to the specified result |
[in] | threshold | the threshold used to compute the branch index |
[out] | branch_index | the destination for the computed branch index |
Implemented in pcl::TernaryTreeMissingDataBranchEstimator, and pcl::BinaryTreeThresholdBasedBranchEstimator.
Referenced by pcl::face_detection::PoseClassRegressionVarianceStatsEstimator< LabelDataType, NodeType, DataSet, ExampleIndex >::computeBranchIndex().
|
pure virtual |
Returns the number of branches the corresponding tree has.
Implemented in pcl::TernaryTreeMissingDataBranchEstimator, and pcl::BinaryTreeThresholdBasedBranchEstimator.
Referenced by pcl::face_detection::PoseClassRegressionVarianceStatsEstimator< LabelDataType, NodeType, DataSet, ExampleIndex >::getNumOfBranches().