[mlpack-git] [mlpack/mlpack] Hilbert R tree (#664)

Ryan Curtin notifications at github.com
Thu Jun 2 20:23:55 EDT 2016


> +  DiscreteHilbertValue();
> +
> +  /**
> +   * Construct this for the node tree. If the node is the root this method
> +   * computes the Hilbert value for each point in the tree's dataset.
> +   * @param node The node that stores this Hilbert value.
> +   */
> +  template<typename TreeType>
> +  DiscreteHilbertValue(const TreeType *tree);
> +
> +  /**
> +   * Create a Hilbert value object by copying from the other node.
> +   * @param other The node from which the value will be copied.
> +   */
> +  template<typename TreeType>
> +  DiscreteHilbertValue(const TreeType &other);

This looks like a copy constructor, should it take a `const DiscreteHilbertValue&` instead of a `TreeType&`?

---
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/664/files/ab890dff6b4b617b5309af53950c6cac97d994d6#r65641137
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160602/5bf6c027/attachment.html>


More information about the mlpack-git mailing list