13#ifndef MLPACK_CORE_TREE_SPILL_TREE_SPACE_SPLIT_HPP
14#define MLPACK_CORE_TREE_SPILL_TREE_SPACE_SPLIT_HPP
22template<
typename MetricType,
typename MatType>
41 const arma::Col<size_t>& points,
57 template<
typename BoundType>
59 const BoundType& bound,
61 const arma::Col<size_t>& points,
70#include "space_split_impl.hpp"
Hyper-rectangle bound for an L-metric.
AxisParallelProjVector defines an axis-parallel projection vector.
ProjVector defines a general projection vector (not necessarily axis-parallel).
static bool GetProjVector(const bound::HRectBound< MetricType > &bound, const MatType &data, const arma::Col< size_t > &points, AxisParallelProjVector &projVector, double &midValue)
Create a projection vector based on the given set of point.
static bool GetProjVector(const BoundType &bound, const MatType &data, const arma::Col< size_t > &points, ProjVector &projVector, double &midValue)
Create a projection vector based on the given set of point.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.