"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", but  notice that  the
metric    function   is   used    only   for    logging   by
gsl_siman_solve_many(),  that is  when  the "print_position"
argument is  not NULL.  So if  you do not  use printing with
solve_many, just ignore the metric function.

HTH
-- 
Marco Maggi

_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to