Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.0 - Français

Change language to:
English - 日本語 - Português - Русский

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

Aide de Scilab >> Simulated Annealing > Utilities > neigh_func_csa

neigh_func_csa

The classical neighborhood relationship for the simulated annealing

Calling Sequence

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
Report an issue
<< compute_initial_temp Utilities neigh_func_default >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Fri Apr 11 14:14:55 CEST 2014