Home | History | Annotate | Download | only in src

Lines Matching refs:minWeight

188         TWeight minWeight, weight;
243 minWeight = edgePtr[e0].weight;
244 CV_Assert( minWeight > 0 );
253 minWeight = MIN(minWeight, weight);
254 CV_Assert( minWeight > 0 );
257 minWeight = MIN(minWeight, weight);
258 CV_Assert( minWeight > 0 );
262 edgePtr[e0].weight -= minWeight;
263 edgePtr[e0^1].weight += minWeight;
264 flow += minWeight;
273 edgePtr[ei^(k^1)].weight += minWeight;
274 if( (edgePtr[ei^k].weight -= minWeight) == 0 )
281 v->weight = v->weight + minWeight*(1-k*2);