|
Packit |
67cb25 |
2008-07-03 Brian Gough <bjg@hp2.network-theory.co.uk>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* Makefile.am (INCLUDES): use top_srcdir instead of top_builddir
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
2007-05-30 Brian Gough <bjg@network-theory.co.uk>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman.c (boltzmann): moved safe_exp into boltzmann
|
|
Packit |
67cb25 |
(copy_state): put all copying into one function
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
2006-03-08 Brian Gough <bjg@network-theory.co.uk>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* test.c (square): removed inline since it causes problems with
|
|
Packit |
67cb25 |
some compilers
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
2005-11-14 Brian Gough <bjg@network-theory.co.uk>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman.c (safe_exp): added a safe_exp function to avoid underflow
|
|
Packit |
67cb25 |
for large uphill steps
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
2003-03-31 Brian Gough <bjg@network-theory.co.uk>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman.c (gsl_siman_solve): avoid reevaluation for best_E
|
|
Packit |
67cb25 |
(gsl_siman_solve): loop over param.iters_fixed_T not
|
|
Packit |
67cb25 |
params.n_tries
|
|
Packit |
67cb25 |
(gsl_siman_solve): initialise energy at start
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
Sat Aug 3 20:32:38 2002 Brian Gough <bjg@network-theory.co.uk>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman.c (gsl_siman_solve): fix acceptance criterion to match
|
|
Packit |
67cb25 |
documentation (Peter S. Christopher)
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
Thu Jun 13 20:57:00 2002 Brian Gough <bjg@network-theory.co.uk>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman.c (gsl_siman_solve): keep track of the best result
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
2002-02-07 Mark Galassi <rosalia@galassi.org>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman.c (gsl_siman_solve): bug fix in the destructor for x and
|
|
Packit |
67cb25 |
new_x which was being called on &x and &new_x instead of x and
|
|
Packit |
67cb25 |
new_x; thanks to Karsten Howes <karsten@videotron.ca>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
Thu Jul 12 21:50:07 2001 Brian Gough <bjg@network-theory.co.uk>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* gsl_siman.h: changed renamed gsl_Efunc_t to gsl_siman_Efunc_t,
|
|
Packit |
67cb25 |
in accordance with namespace conventions
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
2000-12-15 Mark Galassi <rosalia@galassi.org>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman.c (gsl_siman_solve): reversed a small change I had made
|
|
Packit |
67cb25 |
earlier and went back to taking Boltzmann-conditional steps when
|
|
Packit |
67cb25 |
the new energy is equal to the previous one. This allows you to
|
|
Packit |
67cb25 |
move around if you are stuck on a plateau.
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* gsl_siman.h, siman.c, siman_test.c, siman_tsp.c, test.c: changed
|
|
Packit |
67cb25 |
the siman_solve API to allow for more general search spaces. The
|
|
Packit |
67cb25 |
problem was that we assumed that points in the search space were
|
|
Packit |
67cb25 |
data structures that were allocated in continguous memory, so they
|
|
Packit |
67cb25 |
could not be linked structures. I replaced the malloc(), memcpy()
|
|
Packit |
67cb25 |
and free() calls with copy_constructor(), copyfunc() and
|
|
Packit |
67cb25 |
copy_destructor() functions. The user passes these functions,
|
|
Packit |
67cb25 |
which means that siman_solve() now takes three more arguments of
|
|
Packit |
67cb25 |
type gsl_siman_copy_t, gsl_siman_copy_construct_t and
|
|
Packit |
67cb25 |
gsl_siman_destroy_t. If these arguments are NULL (and all three
|
|
Packit |
67cb25 |
of them have to be NULL together), the traditional memcpy()
|
|
Packit |
67cb25 |
approach is used.
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
1999-02-14 Mark Galassi <rosalia@cygnus.com>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* minor fixes.
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
Tue Nov 17 17:22:14 1998 Brian Gough <bjg@vvv.lanl.gov>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* added #include <config.h> to all top-level source files
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
Sun Nov 8 20:40:28 1998 Brian Gough <bjg@vvv.lanl.gov>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman_tsp.c: clean up for make strict
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
1998-11-06 <bjg@ancho.lanl.gov>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* test.c: added prototype for memcpy using #include <string.h>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman_test.c: added prototype for memcpy using #include <string.h>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
Wed Oct 28 15:06:58 1998 Brian Gough <bjg@vvv.lanl.gov>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman.c: added #include <string.h> for memcpy
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
Thu Aug 20 12:22:28 1998 Brian Gough <bjg@vvv.lanl.gov>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman.c: use (char *) judiciously to avoid warnings about void
|
|
Packit |
67cb25 |
pointer arithmetic (see randist/shuffle.c for similar examples)
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman_test.c: perform several tests, using the exact answer as
|
|
Packit |
67cb25 |
the comparison value, rather than checking for stationarity.
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
Sun Jun 28 14:11:04 1998 Brian Gough <bjg@vvv.lanl.gov>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* Converted to work with rng-style random number generators
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* gsl_siman.h: gsl_siman_step_t type functions now take a gsl_rng
|
|
Packit |
67cb25 |
random number generator as their first argument
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman.c (gsl_siman_solve): Now takes a gsl_rng random number
|
|
Packit |
67cb25 |
generator as the first argument
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
Fri Jun 19 11:17:24 1998 Brian Gough <bjg@vvv.lanl.gov>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman.c (gsl_siman_solve_many): changed the variable 'throw' to
|
|
Packit |
67cb25 |
'u' (for uniform-random-number) so that we can compile with c++
|
|
Packit |
67cb25 |
where throw is a reserved word.
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
Sat May 23 13:59:55 1998 Brian Gough <bjg@vvv.lanl.gov>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman.c: made the solving functions deterministic by removing
|
|
Packit |
67cb25 |
the random seed, gsl_ran_seed(time(0L)). When the function is
|
|
Packit |
67cb25 |
non-deterministic it is hard to debug and test (about 1 time in 20
|
|
Packit |
67cb25 |
the test would fail due to the randomness). We can let the user do
|
|
Packit |
67cb25 |
the seeding if they need that.
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
1998-02-09 Mark Galassi <rosalia@nis.lanl.gov>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman_test_driver.sh (LAST_ENERGY): fixed a typo; the tests now
|
|
Packit |
67cb25 |
report well when they converge.
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
1998-01-30 Mark Galassi <rosalia@cygnus.com>
|
|
Packit |
67cb25 |
|
|
Packit |
67cb25 |
* siman_test_driver.sh, Makefile.am (TESTS): added a test driver
|
|
Packit |
67cb25 |
so that now "make check" does something interesting.
|