From d27d2a9ba2026c1cc4f137490d6bf40073026a05 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Wed, 11 Sep 2013 15:17:47 +0000 Subject: - implement scale free topology correctly and introduce argument to cap the number of connections to a peer in the generated topology --- src/include/gnunet_testbed_service.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/include/gnunet_testbed_service.h') 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, -- cgit v1.2.3