Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
Scilab Help >> Simulated Annealing > Utilities > neigh_func_csa

neigh_func_csa

The classical neighborhood relationship for the simulated annealing

Syntax

x_neigh = neigh_func_csa(x_current,T,param)

Arguments

x_current

the point for which we want to compute a neighbor

T

the current temperature

param

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.

x_neigh

the computed neighbor

Description

  • 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.

Examples

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-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:38 CEST 2016