Searched refs:min_weight (Results 1 – 1 of 1) sorted by relevance
169 int e0 = -1, ei = 0, ej = 0, min_weight, weight; in icvGCMaxFlow() local224 min_weight = edges[e0].weight; in icvGCMaxFlow()225 assert( min_weight > 0 ); in icvGCMaxFlow()234 min_weight = MIN(min_weight, weight); in icvGCMaxFlow()235 assert( min_weight > 0 ); in icvGCMaxFlow()238 min_weight = MIN(min_weight, weight); in icvGCMaxFlow()239 assert( min_weight > 0 ); in icvGCMaxFlow()243 edges[e0].weight -= min_weight; in icvGCMaxFlow()244 edges[e0^1].weight += min_weight; in icvGCMaxFlow()245 flow += min_weight; in icvGCMaxFlow()[all …]