A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ignore the result of the computation
[simgrid.git]
/
examples
/
smpi
/
NAS
/
DGraph.c
diff --git
a/examples/smpi/NAS/DGraph.c
b/examples/smpi/NAS/DGraph.c
index 6dd0ed353cfeff665e592c4793711713b1d952cc..530bf3ee949985a3f5d6c39e1f136d3d31b948d2 100644
(file)
--- 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);
/*