Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2023.0.0 - Русский


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

Copyright (c) 2022-2023 (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:
Tue Mar 07 09:28:47 CET 2023