abc/src/sat/satoko/act_var.h
/** Increment the activity value of one variable ('var')
 */
Increment the activity value of one variable ('var')
Increment the activity value of one variable ( ' var ' )
static inline void var_act_bump(solver_t *s, unsigned var)
{
    act_t *activity = vec_act_data(s->activity);
    activity[var] = sdbl_add(activity[var], s->var_act_inc);
    if (activity[var] > s->opts.var_act_limit)
        var_act_rescale(s);
    if (heap_in_heap(s->var_order, var))
        heap_decrease(s->var_order, var);
}
static inline void var_act_bump ( solver_t * s , unsigned var ) { act_t * activity = vec_act_data ( s -> activity ) ; activity [ var ] = sdbl_add ( activity [ var ] , s -> var_act_inc ) ; if ( activity [ var ] > s -> opts . var_act_limit ) var_act_rescale ( s ) ; if ( heap_in_heap ( s -> var_order , var ) ) heap_decrease ( s -> var_order , var ) ; }
Increment the activity value of one variable ('var')
Increment the activity value of one variable ( ' var ' )