[mlpack-git] [mlpack/mlpack] Spill trees (#747)

Ryan Curtin notifications at github.com
Sat Aug 13 21:47:10 EDT 2016


> +  typedef MatType Mat;
> +  //! The type of element held in MatType.
> +  typedef typename MatType::elem_type ElemType;
> +  //! The bound type.
> +  typedef typename HyperplaneType<MetricType>::BoundType BoundType;
> +
> + private:
> +  //! The left child node.
> +  SpillTree* left;
> +  //! The right child node.
> +  SpillTree* right;
> +  //! The parent node (NULL if this is the root of the tree).
> +  SpillTree* parent;
> +  //! The number of points of the dataset contained in this node (and its
> +  //! children).
> +  size_t count;

Could we avoid this member and just use `pointsIndex.n_elem`?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/747/files/fe090ee13c7cad79e2b7eb8b6690628ba3ead1ed#r74694664
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160813/746648aa/attachment.html>


More information about the mlpack-git mailing list