12 #ifndef MLPACK_METHODS_DECISION_TREE_ALL_DIMENSION_SELECT_HPP 13 #define MLPACK_METHODS_DECISION_TREE_ALL_DIMENSION_SELECT_HPP 42 size_t End()
const {
return dimensions; }
47 size_t Next() {
return ++i; }
size_t Begin()
Get the first dimension to select from.
Definition: all_dimension_select.hpp:33
size_t End() const
Get the last dimension to select from.
Definition: all_dimension_select.hpp:42
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1
size_t & Dimensions()
Modify the number of dimensions.
Definition: all_dimension_select.hpp:52
AllDimensionSelect()
Construct the AllDimensionSelect object for the given number of dimensions.
Definition: all_dimension_select.hpp:28
This dimension selection policy allows any dimension to be selected for splitting.
Definition: all_dimension_select.hpp:22
size_t Dimensions() const
Get the number of dimensions.
Definition: all_dimension_select.hpp:50
size_t Next()
Get the next dimension.
Definition: all_dimension_select.hpp:47