Changeset 40 for liacs/nc


Ignore:
Timestamp:
Dec 16, 2009, 8:48:40 PM (15 years ago)
Author:
Rick van der Zwet
Message:

e = exp(1)

Location:
liacs/nc/low-correlation
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • liacs/nc/low-correlation/sa.m

    r39 r40  
    3030            else
    3131                % XXX: Some more cleaver cooling would be great
    32                 if( e^((fitness - new_fitness) / temperature) > rand())
     32                if( exp(1)^((fitness - new_fitness) / temperature) > rand())
    3333                    seq = newseq;
    3434               end
Note: See TracChangeset for help on using the changeset viewer.