Changeset 5665 for source/ariba/overlay/modules/chord/detail
- Timestamp:
- Aug 4, 2009, 3:44:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/overlay/modules/chord/detail/chord_routing_table.hpp
r5663 r5665 248 248 249 249 /// returns the next hop 250 const item* get_next_hop( const nodeid_t& value 250 const item* get_next_hop( const nodeid_t& value, bool nts = false) { 251 251 ring_distance distance; 252 252 item* best_item = NULL; 253 253 for (size_t i=0; i<table.size(); i++) { 254 254 item* curr = &table[i]; 255 if (nts && curr->id == value) continue; 255 256 256 257 // not not include orphans into routing!
Note:
See TracChangeset
for help on using the changeset viewer.