diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-09-11 15:17:47 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-09-11 15:17:47 +0000 |
commit | d27d2a9ba2026c1cc4f137490d6bf40073026a05 (patch) | |
tree | 1a1cbf6c674e41677af7d5cb435f0223ecf998a3 /src/include/gnunet_testbed_service.h | |
parent | d0af4b660210ffc9b00c17383becaee6178de353 (diff) | |
download | gnunet-d27d2a9ba2026c1cc4f137490d6bf40073026a05.tar.gz gnunet-d27d2a9ba2026c1cc4f137490d6bf40073026a05.zip |
- 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.h | 9 |
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 | |||
992 | GNUNET_TESTBED_TOPOLOGY_INTERNAT, | 992 | GNUNET_TESTBED_TOPOLOGY_INTERNAT, |
993 | 993 | ||
994 | /** | 994 | /** |
995 | * Scale free topology. No options. | 995 | * Scale free topology. It is generated according to the method described in |
996 | * "Emergence of Scaling in Random Networks." Science 286, 509-512, 1999. | ||
997 | * | ||
998 | * This options takes two arguments in the following order: an uint16_t to | ||
999 | * determine the maximum number of edges a peer is permitted to have while | ||
1000 | * generating scale free topology, a good value for this argument is 70; and | ||
1001 | * an uint8_t to determine the number of edges to be established when adding a | ||
1002 | * new node to the scale free network, a good value for this argument is 4. | ||
996 | */ | 1003 | */ |
997 | GNUNET_TESTBED_TOPOLOGY_SCALE_FREE, | 1004 | GNUNET_TESTBED_TOPOLOGY_SCALE_FREE, |
998 | 1005 | ||