[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Semantics of gsl_siman_metric_t
From: |
Saqib Ilyas |
Subject: |
Re: [Help-gsl] Semantics of gsl_siman_metric_t |
Date: |
Thu, 23 Dec 2010 10:32:20 +0500 |
Great, thanks guys!
On Thu, Dec 23, 2010 at 2:35 AM, Marco Maggi <address@hidden>wrote:
> "Marco Maggi" write:
> >"Saqib Ilyas" wrote:
> >> The documentation says that the GSL Simulated Annealing
> >> function gsl_siman_metric_t(void *xp, void *yp), should
> >> return the distance between two configurations xp and
> >> yp. Semantically, should it be, x - y or y - x?
> >
> > Probably it was meant to be "x-y",
>
> If you interpret it in strict math terms, it does not matter
> of course: "distance" means that d(x, y) = d(y, x). Since
> it is not used in GSL's siman, nobody knows.
> --
> Marco Maggi
>
--
Muhammad Saqib Ilyas
PhD Student, Computer Science and Engineering
Lahore University of Management Sciences