|
Boost Users : |
Subject: Re: [Boost-users] can not compile nearest neighbors in d dimensions
From: Mateusz Åoskot (mateusz_at_[hidden])
Date: 2014-04-16 06:30:22
On 16 April 2014 12:02, Georgios Samaras <georgesamarasdit_at_[hidden]> wrote:
>>Long story short:
>>int const M = 3;
>
> I have checked the link already. Yes, I had tried that it worked, but, as I
> said the dimensions are going to be read from a file given by the user (that
> is run time I guess). That means that Boost can not let the user apply a
> desired dimension?
You need to use multiple models and dispatch between them in runtime.
-- Mateusz Åoskot, http://mateusz.loskot.net
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net