summaryrefslogtreecommitdiff
path: root/src/include/gnunet_testbed_service.h
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-09-11 15:17:47 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-09-11 15:17:47 +0000
commitd27d2a9ba2026c1cc4f137490d6bf40073026a05 (patch)
tree1a1cbf6c674e41677af7d5cb435f0223ecf998a3 /src/include/gnunet_testbed_service.h
parentd0af4b660210ffc9b00c17383becaee6178de353 (diff)
- implement scale free topology correctly and introduce argument to cap the number of connections to a peer in the generated topology
Diffstat (limited to 'src/include/gnunet_testbed_service.h')
-rw-r--r--src/include/gnunet_testbed_service.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/include/gnunet_testbed_service.h b/src/include/gnunet_testbed_service.h
index 48d3440ab..33cf464dc 100644
--- a/src/include/gnunet_testbed_service.h
+++ b/src/include/gnunet_testbed_service.h
@@ -992,7 +992,14 @@ enum GNUNET_TESTBED_TopologyOption
GNUNET_TESTBED_TOPOLOGY_INTERNAT,
/**
- * Scale free topology. No options.
+ * Scale free topology. It is generated according to the method described in
+ * "Emergence of Scaling in Random Networks." Science 286, 509-512, 1999.
+ *
+ * This options takes two arguments in the following order: an uint16_t to
+ * determine the maximum number of edges a peer is permitted to have while
+ * generating scale free topology, a good value for this argument is 70; and
+ * an uint8_t to determine the number of edges to be established when adding a
+ * new node to the scale free network, a good value for this argument is 4.
*/
GNUNET_TESTBED_TOPOLOGY_SCALE_FREE,