Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.5.2 - Português

Change language to:
English - Français - 日本語 - Русский

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

Ajuda do Scilab >> Arrefecimento Simulado > Utilities > accept_func_vfsa

accept_func_vfsa

The Very Fast Simulated Annealing acceptation function.

Calling Sequence

Level = accept_func_vfsa(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_vfsa provides the Very Fast 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 = 1 / (1 + exp(-(F_current - F_neigh)/max(T,%eps)));

Examples

level = accept_func_vfsa(10, 9, 10)

See Also

Report an issue
<< accept_func_default Utilities compute_initial_temp >>

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:
Wed Apr 01 10:24:19 CEST 2015