Tags:
create new tag
, view all tags
Within the virtual localization algorithm, there is a function which is called when TYPE_DATA packets pass through the network layer. In order to determine the next hop node, the function compares the distances of each neighbour in the one-hop neighbour table to the root node (as it has a known virtual location at the origin). It can operate using either the virtual locations or physical locations.

For testing data purposes, a hop count control byte has been added to messages generated by the random packet generator (APP_PKGEN) which is incremented by each node which forwards it at the network layer. Adding the hop count control byte does not interfere with performance as the message is completely random and will only operate when the --hop option is enabled, thus not interfering with any applications using the TYPE_DATA format. At the sink node, mean hop count statistics are tallied and are output to VL_hop_count.csv upon exiting.

Depending on how the function is called, geographic routing will either operate based on virtual locations or physical locations in order to compare differences in performance.

-- XiaohongWu - 2012-01-24

Topic revision: r1 - 2012-01-24 - XiaohongWu
 
This site is powered by the TWiki collaboration platformCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback