Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Prophet Routing protocol #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ashfaqdawood
Copy link

Implementation of Improved PRoPHET routing protocol as devised in
Seung Deok Han and Yun Won Chung, “An Improved PRoPHET Routing Protocol in Delay Tolerant Network,” The Scientific World Journal, vol. 2015, Article ID 623090, 7 pages, 2015. doi:10.1155/2015/623090.

The forwarding counter threshold and hop counter threshold are both kept at 5 after a comparative study resulting in best results at these thresholds.

@tk721
Copy link
Collaborator

tk721 commented Jan 9, 2017

You can already get the hop count (=forwarding count?) with Message.getHopCount() so I don't think you need to modify the Message or ActiveRouter classes.

@ashfaqdawood
Copy link
Author

@tk721 both are different concepts, hop counter is the number of hops traversed by a particular message whereas a forwarding counter is the cumulative sum of the number of times the message was forwarded before reaching current node.
as per Han et al.

@julianofischer
Copy link
Contributor

@AfqD, there is a way you can implement it without changin Message.java.
You can use message properties, like used by SprayAndWait routing module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants