View Single Post
  #1  
Old 02-27-2011, 06:06 AM
Networking Networking is offline
Senior Member
 
Join Date: Jun 2009
Posts: 1,888
Default Generate random numbers with no duplicates

I created a simple *Node.java* class, where each Node instance has an 1-id variable of type int 2-Neighborlist of type Arraylist I wrote a code that gives me a random network, made of 200 nodes, and each node can have up to 55 neighbors. <div class="codeblock"> <div class="spaced">...
__________________
Networking
Domain name forum
Reply With Quote