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


accept_func_default

The default Simulated Annealing acceptation function.

Syntax

Level = accept_func_default(F_current, F_neigh, T)

Arguments

F_current

the current function value

F_neigh

the function value of the neighbour

T

the current temperature

Level

the level of acceptation, in the interval [0,1].

Description

The accept_func_default provides the default Simulated Annealing acceptation function.

If the level computed by the acceptation function is higher than the generated uniform random number in the interval [0,1], then the neighbour is accepted.

The formula used in the implementation is the following.

Level = exp(-(F_neigh - F_current)/max(T,%eps));

Examples

level = accept_func_default(10,9,10);

See also

Report an issue
<< Utilities Utilities accept_func_vfsa >>

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:
Mon Jun 17 17:55:06 CEST 2024