-3

我说模拟退火算法中的能量等于成本变化是否正确?

所以我可以用以下方法计算它:

energy = cost(prevSolution) - cost(currentSolution);
4

1 回答 1

2

术语“能量”可以有多种定义,但它通常表示当前的客观价值,或当前状态的成本,即cost(currentSolution)

您定义的差异以及一些转换函数通常指定从一种状态到另一种状态的转换概率。

于 2013-03-23T06:09:09.017 回答