public inbox for gsl-cvs@sourceware.org
help / color / mirror / Atom feed
* gsl/siman ChangeLog gsl_siman.h siman.c siman_ ...
@ 2000-12-15 6:31 rosalia
0 siblings, 0 replies; only message in thread
From: rosalia @ 2000-12-15 6:31 UTC (permalink / raw)
To: gsl-cvs
CVSROOT: /cvs/gsl
Module name: gsl
Changes by: rosalia@sources.redhat.com 2000-12-15 06:31:15
Modified files:
siman : ChangeLog gsl_siman.h siman.c siman_test.c
siman_tsp.c test.c
Log message:
2000-12-15 Mark Galassi <rosalia@galassi.org>
* gsl_siman.h, siman.c, siman_test.c, siman_tsp.c, test.c: changed
the siman_solve API to allow for more general search spaces. The
problem was that we assumed that points in the search space were
data structures that were allocated in continguous memory, so they
could not be linked structures. I replaced the malloc(), memcpy()
and free() calls with copy_constructor(), copyfunc() and
copy_destructor() functions. The user passes these functions,
which means that siman_solve() now takes three more arguments of
type gsl_siman_copy_t, gsl_siman_copy_construct_t and
gsl_siman_destroy_t. If these arguments are NULL (and all three
of them have to be NULL together), the traditional memcpy()
approach is used.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-12-15 6:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-12-15 6:31 gsl/siman ChangeLog gsl_siman.h siman.c siman_ rosalia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).