GraphStream Users

Archives de la liste Aide


For ( Node n : graph ) performing exactly ( graph.getNodeCount()/2 ) +1 iterations


Chronologique Discussions 
  • From: Rajesh Veeranki <rveeranki01 AT gmail.com>
  • To: graphstream-users AT litislab.fr
  • Subject: For ( Node n : graph ) performing exactly ( graph.getNodeCount()/2 ) +1 iterations
  • Date: Sun, 1 Jul 2012 04:37:34 +0530

Hi all,
I ran into some problem with the for loop i.e; 
for ( Node n : graph ) seems to perform half  the number of iterations of the number of nodes graph has.
I think it is expected to perform iterations = number of nodes.

I'm afraid i may be foolish here.

I'm giving a link to the code

Please help.


Thanks,
Rajesh.



Archives gérées par MHonArc 2.6.16.

Top of page