Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語 -

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.
See the recommended documentation of this function

Справка Scilab >> Simulated Annealing > Utilities > neigh_func_csa


The classical neighborhood relationship for the simulated annealing


x_neigh = neigh_func_csa(x_current,T,param)



the point for which we want to compute a neighbor


the current temperature


a vector with the same size than x_current. A normalization vector which allows to distort the shape of the neighborhood. This parameter allows to take into account the differences of interval of variation between variables. By default, this parameter is set to a vector of ones.


the computed neighbor


  • This function implements the classical neighborhood relationship for the simulated annealing. The neighbors distribution is a gaussian distribution which is more and more peaked as the temperature decrease.


x_current = 1;

x_neigh = neigh_func_csa(x_current,10,[])

See also

  • neigh_func_default — A SA function which computes a neighbor of a given point
  • temp_law_huang — The Huang temperature decrease law for the simulated annealing
  • optim_sa — A Simulated Annealing optimization method
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Feb 14 15:13:25 CET 2017