Home | History | Annotate | Download | only in src

Lines Matching refs:Vertex

73 // struct Vertex is used for storing vertices of graph
75 struct Vertex
84 // srcVtx - coordinate of source vertex on the real image line
85 // destVtx - coordinate of destination vertex on the real image line
197 getSizeForGraph( Vertex ),
211 ( ( Vertex* )newVtxPtr ) -> coord = i;
216 ( ( Vertex* )newVtxPtr ) -> coord = -2; /* adding alpha vertex */
219 ( ( Vertex* )newVtxPtr ) -> coord = -1; /* adding beta vertex */
231 /* adding edge oriented from alpha vertex to current vertex */
235 ( ( Vertex* )vtxPtr ) -> coord,
242 if( ( ( Vertex* )tempVtxPtr ) -> coord + 1 ==
243 ( ( Vertex* )vtxPtr ) -> coord )
246 vFunc( corr[ ( ( Vertex* )tempVtxPtr ) -> coord ],
248 /* adding neighbour edge oriented from current vertex
255 ( ( Vertex* )vtxPtr ) -> coord;
257 ( ( Vertex* )tempVtxPtr ) -> coord;
263 if( ( ( Vertex* )tempVtxPtr ) -> coord - 1 ==
264 ( ( Vertex* )vtxPtr ) -> coord )
267 vFunc( corr[ ( ( Vertex* )tempVtxPtr ) -> coord ],
269 /* adding neighbour edge oriented from current vertex
276 ( ( Vertex* )vtxPtr ) -> coord;
278 ( ( Vertex* )tempVtxPtr ) -> coord;
282 ( ( Edge* )newEdgePtr ) -> srcVtx = -1; /* source vertex is alpha
283 vertex */
284 ( ( Edge* )newEdgePtr ) -> destVtx = ( ( Vertex* )vtxPtr ) -> coord;
286 /* adding edge oriented from current vertex to beta vertex */
290 ( ( Vertex* )vtxPtr ) -> coord,
297 if( ( ( Vertex* )tempVtxPtr ) -> coord + 1 ==
298 ( ( Vertex* )vtxPtr ) -> coord )
301 vFunc( corr[ ( ( Vertex* )tempVtxPtr ) -> coord ],
308 if( ( ( Vertex* )tempVtxPtr ) -> coord - 1 ==
309 ( ( Vertex* )vtxPtr ) -> coord )
312 vFunc( corr[ ( ( Vertex* )tempVtxPtr ) -> coord ],
318 ( ( Vertex* )vtxPtr ) -> coord;
319 ( ( Edge* )newEdgePtr ) -> destVtx = -2; /* destination vertex is
320 beta vertex */
354 int s = graph -> total - 2; /* source vertex */
355 int t = graph -> total - 1; /* terminate vertex */
368 getSizeForGraph( Vertex ),
387 /* add vertex s to order */
397 /* adding u to vertex array */
404 /* processing all vertices outgoing from vertex u */
422 /* adding vertex v to order */
446 /* processing all vertices incoming to vertex u */
464 /* adding vertex v to order */
536 int s = graph -> total - 2; /* source vertex */
537 int t = graph -> total - 1; /* terminate vertex */
679 /* deleting vertex v */
914 int s = graph -> total - 2; /* source vertex - alpha vertex */
915 //int t = graph -> total - 1; /* terminate vertex - beta vertex */
951 { /* this vertex must have alpha label */
953 coord = ( ( Vertex* )graphVtx )-> coord;
963 { /* this vertex must have beta label */
965 coord = ( ( Vertex* )graphVtx )-> coord;