Lines Matching full:nedges
596 static inline void icvAddEdge( GCVtx *x, GCVtx* y, GCEdge* edgeBuf, int nedges, int w, int rw )
598 GCEdge *xy = edgeBuf + nedges, *yx = xy + 1;
604 x->first = nedges;
609 y->first = nedges+1;
624 GCEdge* edgeBuf, int& nedges )
635 icvAddEdge( x, y, edgeBuf, nedges, 0, w );
636 nedges += 2;
645 icvAddEdge( x, y, edgeBuf, nedges, w, 0 );
646 nedges += 2;
654 icvAddEdge( x, y, edgeBuf, nedges, B - A, C - D );
655 nedges += 2;
667 int nvtx = 0, nedges = 2;
743 delta, delta, 0, ebuf, nedges );
746 E += icvAddTerm( var, var1, 0, INFINITY, 0, 0, ebuf, nedges );
759 E += icvAddTerm( var, var1, 0, E0a, Ea0, Eaa, ebuf, nedges );
781 E += icvAddTerm( var, var1, E00, E0a, Ea0, 0, ebuf, nedges );
792 E += icvAddTerm( var, var1, E00, E0a, Ea0, 0, ebuf, nedges );
805 E += icvAddTerm( var, var1, 0, INFINITY, 0, 0, ebuf, nedges );