38 #ifndef PCL_ML_BRANCH_ESTIMATOR_H_ 39 #define PCL_ML_BRANCH_ESTIMATOR_H_ 41 #include <pcl/common/common.h> 42 #include <pcl/ml/stats_estimator.h> 59 getNumOfBranches ()
const = 0;
70 const unsigned char flag,
71 const float threshold,
72 unsigned char & branch_index)
const = 0;
101 const unsigned char flag,
102 const float threshold,
103 unsigned char & branch_index)
const 106 branch_index = (result > threshold) ? 1 : 0;
136 const unsigned char flag,
137 const float threshold,
138 unsigned char & branch_index)
const 141 branch_index = (result > threshold) ? 1 : 0;
void computeBranchIndex(const float result, const unsigned char flag, const float threshold, unsigned char &branch_index) const
Computes the branch index for the specified result.
void computeBranchIndex(const float result, const unsigned char flag, const float threshold, unsigned char &branch_index) const
Computes the branch index for the specified result.
Branch estimator for binary trees where the branch is computed only from the threshold.
size_t getNumOfBranches() const
Returns the number of branches the corresponding tree has.
size_t getNumOfBranches() const
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 != 0)...
virtual ~BinaryTreeThresholdBasedBranchEstimator()
Destructor.
virtual ~BranchEstimator()
Destructor.
BinaryTreeThresholdBasedBranchEstimator()
Constructor.
virtual ~TernaryTreeMissingDataBranchEstimator()
Destructor.
TernaryTreeMissingDataBranchEstimator()
Constructor.
Interface for branch estimators.