Mercurial > hg > mauch-mirex-2010
annotate _FullBNT/BNT/learning/compute_cooling_schedule.m @ 9:4ea6619cb3f5 tip
removed log files
author | matthiasm |
---|---|
date | Fri, 11 Apr 2014 15:55:11 +0100 |
parents | b5b38998ef3b |
children |
rev | line source |
---|---|
matthiasm@8 | 1 function temp_schedule = compute_cooling_schedule(init_temp, final_temp, anneal_rate) |
matthiasm@8 | 2 |
matthiasm@8 | 3 temp_schedule = []; |
matthiasm@8 | 4 i = 1; |
matthiasm@8 | 5 temp_schedule(i)=init_temp; |
matthiasm@8 | 6 while temp_schedule(i) > final_temp |
matthiasm@8 | 7 i = i + 1; |
matthiasm@8 | 8 temp_schedule(i)=temp_schedule(i-1)*anneal_rate; |
matthiasm@8 | 9 end |
matthiasm@8 | 10 |
matthiasm@8 | 11 |
matthiasm@8 | 12 |
matthiasm@8 | 13 |