scitbx.simulated_annealing
index
/net/chevy/raid1/rwgk/dist/cctbx_project/scitbx/simulated_annealing.py

a basic simulated annealing engine.
as always, the user supplies the function 'target' in the main driver,
the rest is taken care of here
 
This implementation is based on
 
http://nl.wikipedia.org/wiki/Simulated_annealing

 
Modules
       
scitbx.array_family.flex
scitbx.math
os
sys

 
Classes
       
__builtin__.object
sa_optimizer
tst_function

 
class sa_optimizer(__builtin__.object)
     Methods defined here:
__init__(self, parent, start_solution, scales, start_t=100, end_t=1, burn_in=100, burn_out=10000, steps=100)
get_solution(self)
make_anneal_profile(self)
move(self)
perturb(self, vector)
run(self)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class tst_function(__builtin__.object)
     Methods defined here:
__init__(self)
target(self, vector)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
tst()