[freenet-cvs] r18322 - trunk/freenet/src/freenet/node/simulator

robert at freenetproject.org robert at freenetproject.org
Mon Mar 3 21:40:44 UTC 2008


Author: robert
Date: 2008-03-03 21:40:44 +0000 (Mon, 03 Mar 2008)
New Revision: 18322

Modified:
   trunk/freenet/src/freenet/node/simulator/RealNodeTest.java
Log:
comments


Modified: trunk/freenet/src/freenet/node/simulator/RealNodeTest.java
===================================================================
--- trunk/freenet/src/freenet/node/simulator/RealNodeTest.java	2008-03-03 13:38:58 UTC (rev 18321)
+++ trunk/freenet/src/freenet/node/simulator/RealNodeTest.java	2008-03-03 21:40:44 UTC (rev 18322)
@@ -29,6 +29,10 @@
 	
 	/*
 	 Borrowed from mrogers simulation code (February 6, 2008)
+	 --
+	 FIXME: May not generate good networks. Presumably this is because the arrays are always scanned
+	        [0..n], some nodes tend to have *much* higher connections than the degree (the first few),
+	        starving the latter ones.
 	 */
 	static void makeKleinbergNetwork (Node[] nodes, boolean idealLocations, int degree, boolean forceNeighbourConnections)
 	{




More information about the cvs mailing list