[mlpack-git] [mlpack/mlpack] Spill trees (#747)
Ryan Curtin
notifications at github.com
Sat Aug 13 21:49:38 EDT 2016
> + const StatisticType& Stat() const { return stat; }
> + //! Return the statistic object for this node.
> + StatisticType& Stat() { return stat; }
> +
> + //! Return whether or not this node is a leaf (true if it has no children).
> + bool IsLeaf() const;
> +
> + //! Gets the left child of this node.
> + SpillTree* Left() const { return left; }
> + //! Modify the left child of this node.
> + SpillTree*& Left() { return left; }
> +
> + //! Gets the right child of this node.
> + SpillTree* Right() const { return right; }
> + //! Modify the right child of this node.
> + SpillTree*& Right() { return right; }
Nah, `Right()` and `Left()` is just fine.
--
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/a71b57caa90311f5542180bc0553449c3691395d#r74694681
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160813/ade6b6dc/attachment.html>
More information about the mlpack-git
mailing list