Lines Matching refs:total_cost
169 double total_cost = 0;313 total_cost += (double)val * state.cost[i][j];319 emd = (float) (total_cost / state.weight);