X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/62ab7fd2280a35af7c36f602852bc53fc0a56093..a267ccc067728bfe19bfe11a119ae448f97efd31:/examples/smpi/NAS/DGraph.c diff --git a/examples/smpi/NAS/DGraph.c b/examples/smpi/NAS/DGraph.c index 6dd0ed353c..530bf3ee94 100644 --- a/examples/smpi/NAS/DGraph.c +++ b/examples/smpi/NAS/DGraph.c @@ -10,6 +10,7 @@ DGArc *newArc(DGNode *tl,DGNode *hd){ ar->head=hd; return ar; } + void arcShow(DGArc *ar){ DGNode *tl=(DGNode *)ar->tail, *hd=(DGNode *)ar->head; @@ -30,6 +31,7 @@ DGNode *newNode(char *nm){ nd->feat=NULL; return nd; } + void nodeShow(DGNode* nd){ fprintf( stderr,"%3d.%s: (%d,%d)\n", nd->id,nd->name,nd->inDegree,nd->outDegree); /*