[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: Marco Maggi
Subject: Re: [Help-gsl] Semantics of gsl_siman_metric_t
Date: Wed, 22 Dec 2010 22:35:44 +0100

"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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]