vpr/src/place/place.cpp
/* Update the temperature according to the annealing schedule selected. */
Update the temperature according to the annealing schedule selected.
Update the temperature according to the annealing schedule selected .
static void update_t(float* t, float rlim, float success_rat, t_annealing_sched annealing_sched) {
    if (annealing_sched.type == USER_SCHED) {
        *t = annealing_sched.alpha_t * (*t);
    } else { 
        if (success_rat > 0.96) {
            *t = (*t) * 0.5;
        } else if (success_rat > 0.8) {
            *t = (*t) * 0.9;
        } else if (success_rat > 0.15 || rlim > 1.) {
            *t = (*t) * 0.95;
        } else {
            *t = (*t) * 0.8;
        }
    }
}
static void update_t ( float * t , float rlim , float success_rat , t_annealing_sched annealing_sched ) { if ( annealing_sched . type == USER_SCHED ) { * t = annealing_sched . alpha_t * ( * t ) ; } else { if ( success_rat > 0.96 ) { * t = ( * t ) * 0.5 ; } else if ( success_rat > 0.8 ) { * t = ( * t ) * 0.9 ; } else if ( success_rat > 0.15 || rlim > 1. ) { * t = ( * t ) * 0.95 ; } else { * t = ( * t ) * 0.8 ; } } }
Update the temperature according to the annealing schedule selected.
Update the temperature according to the annealing schedule selected .
/*  float fac; */ /* AUTO_SCHED */