[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r9868 - GNUnet/src/applications/dv/module
From: |
gnunet |
Subject: |
[GNUnet-SVN] r9868 - GNUnet/src/applications/dv/module |
Date: |
Wed, 23 Dec 2009 09:49:18 +0100 |
Author: grothoff
Date: 2009-12-23 09:49:18 +0100 (Wed, 23 Dec 2009)
New Revision: 9868
Modified:
GNUnet/src/applications/dv/module/dv.c
Log:
commenting
Modified: GNUnet/src/applications/dv/module/dv.c
===================================================================
--- GNUnet/src/applications/dv/module/dv.c 2009-12-23 08:39:20 UTC (rev
9867)
+++ GNUnet/src/applications/dv/module/dv.c 2009-12-23 08:49:18 UTC (rev
9868)
@@ -74,7 +74,17 @@
struct GNUNET_MultiHashMap *direct_neighbors;
struct GNUNET_MultiHashMap *extended_neighbors;
+ /**
+ * We use the min heap (min refers to cost) to prefer
+ * gossipping about peers with small costs.
+ */
struct GNUNET_CONTAINER_Heap *neighbor_min_heap;
+
+ /**
+ * We use the max heap (max refers to cost) for general
+ * iterations over all peers and to remove the most costly
+ * connection if we have too many.
+ */
struct GNUNET_CONTAINER_Heap *neighbor_max_heap;
struct NeighborID *neighbor_id_array;
unsigned long long fisheye_depth;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r9868 - GNUnet/src/applications/dv/module,
gnunet <=