[mlpack-git] [mlpack/mlpack] Lsh table access (#663)

Ryan Curtin notifications at github.com
Wed Jun 1 10:19:13 EDT 2016


The snippet you will need for versioning will be this...

```
namespace boost {
namespace serialization {

template<>
template<typename SortPolicy>
struct version<LSHSearch<SortPolicy>>
{
  typedef mpl::int_<1> type;
  typedef mpl::integral_c_tag tag;
  BOOST_STATIC_CONSTANT(int, value = version::type::value);
  BOOST_MPL_ASSERT((
    boost::mpl::less<
        boost::mpl::int_<N>, boost::mpl::int_<256>>
  ));
};
```

It might be worth making a nice macro for this situation, or some class or something that is easy to overload.

---
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/663#issuecomment-223006908
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160601/406193ad/attachment.html>


More information about the mlpack-git mailing list