tags:

views:

36

answers:

1

I am looking for a MATLAB code that works for rumor routing.

In rumor routing, some N nodes are generated first and randomly one of the nodes generates an 'Agent'. Agent carries the information where it is comming from and what information (like temperature, humidity,etc) is it looking for and what all nodes has it traversed through (basically the path to where it originated). Also another agent is generated by some other node that has some information to share (like temperature or humidity level of an area) to any other node looking for it.

Now if the information seeker agent (former) path intersects the path followed by information giving agent (later) and if the information happens to be the same, then the path is made and used for the same information exchange. But there is another problem. The path has to be shortest path available between them depending upon how many intermediate nodes needed to be passed to reach destination node.

Now I know its a lot of work but even a little help will be appreciated. Thanks guys

A: 

This paper has pseudocode for a rumor routing algorithm on the last page. It should be relatively straightforward to convert it to MATLAB code.

http://www.engr.colostate.edu/ece/faculty/jayasumana/pdf/conferences/CCNC_09_dd.pdf

Robert Harvey