toddtail / SimAnnealing---QT

Comparison of Simulated Annealing and Greedy Algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimAnnealing---QT

Achieved the Comparison of Simulated Annealing and Greedy Algorithm By QT5.5.1 You can see the running process of the two algorithms , change the variable heat condition >0.01 in simannealing.cpp line 96(e.g change to >0.00001) can get different result in sim annealing

#模拟退火 —— QT 用QT5.1.1 实现了模拟退火和贪心算法的比较 可以看到动态地看到两种算法的实现过程,改变 simannealing.cpp 里第96行变量 heat 的条件 >0.01(比如改成>0.00001)可以看到模拟退火产生不同的结果

About

Comparison of Simulated Annealing and Greedy Algorithm


Languages

Language:C++ 100.0%