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; }
53 const size_t dimensions;
size_t End() const
Get the last dimension to select from.
size_t Begin()
Get the first dimension to select from.
AllDimensionSelect(const size_t dimensions)
Construct the AllDimensionSelect object for the given number of dimensions.
This dimension selection policy allows any dimension to be selected for splitting.
size_t Next()
Get the next dimension.