Lines Matching defs:orphans
81 GCVtx** orphans;
123 static int icvGCResizeOrphansBuf( GCVtx**& orphans, int norphans )
126 GCVtx** newOrphans = (GCVtx**)cvAlloc( newNOrphans*sizeof(orphans[0]) );
128 newOrphans[i] = orphans[i];
129 cvFree( &orphans );
130 orphans = newOrphans;
142 GCVtx** orphans = _orphans;
242 // modify weights of the edges along the path and collect orphans
258 maxOrphans = icvGCResizeOrphansBuf( orphans, norphans );
259 orphans[norphans++] = v;
268 maxOrphans = icvGCResizeOrphansBuf( orphans, norphans );
269 orphans[norphans++] = v;
274 // restore the search trees by finding new parents for the orphans
278 GCVtx* v = orphans[--norphans];
353 maxOrphans = icvGCResizeOrphansBuf( orphans, norphans );
354 orphans[norphans++] = u;
361 _orphans = orphans;
814 E += icvGCMaxFlow( vbuf, nvtx, ebuf, state2->orphans, state2->maxOrphans );
845 state2.orphans = 0;
959 cvFree( &state2.orphans );