Home | History | Annotate | Download | only in src

Lines Matching full:cur_weight

138         finder->cur_weight = (float*)malloc( sizeof(float)*(graph->total+1));
141 finder->cur_weight[0] = 0;
159 //finder->cur_weight = (float*)malloc( sizeof(float)*(graph->total+1));
162 //finder->cur_weight[0] = 0;
253 free(finder->cur_weight);
295 finder->cur_weight[k] + finder->cand_weight[k] < finder->best_weight )
396 finder->cur_weight[k] = finder->cur_weight[k-1] + finder->vertex_weights[sel];
407 finder->cur_weight[k] += added;
416 finder->best_weight = MAX( finder->best_weight, finder->cur_weight[k] );