Point Cloud Library (PCL)
1.11.1-dev
|
41 #include <pcl/common/utils.h>
42 #include <pcl/ml/stats_estimator.h>
57 getNumOfBranches()
const = 0;
67 computeBranchIndex(
const float result,
68 const unsigned char flag,
69 const float threshold,
70 unsigned char& branch_index)
const = 0;
98 const unsigned char flag,
99 const float threshold,
100 unsigned char& branch_index)
const override
103 branch_index = (result > threshold) ? 1 : 0;
132 const unsigned char flag,
133 const float threshold,
134 unsigned char& branch_index)
const override
137 branch_index = (result > threshold) ? 1 : 0;
void computeBranchIndex(const float result, const unsigned char flag, const float threshold, unsigned char &branch_index) const override
Computes the branch index for the specified result.
BinaryTreeThresholdBasedBranchEstimator()
Constructor.
~TernaryTreeMissingDataBranchEstimator()
Destructor.
virtual ~BranchEstimator()
Destructor.
Interface for branch estimators.
std::size_t getNumOfBranches() const override
Returns the number of branches the corresponding tree has.
~BinaryTreeThresholdBasedBranchEstimator()
Destructor.
TernaryTreeMissingDataBranchEstimator()
Constructor.
std::size_t getNumOfBranches() const override
Returns the number of branches the corresponding tree has.
Branch estimator for ternary trees where one branch is used for missing data (indicated by flag !...
Branch estimator for binary trees where the branch is computed only from the threshold.
void ignore(const T &...)
Utility function to eliminate unused variable warnings.
void computeBranchIndex(const float result, const unsigned char flag, const float threshold, unsigned char &branch_index) const override
Computes the branch index for the specified result.