Skip to content

Application class to simulate Resource Management for the Opportunistic Network Environment simulator.

Notifications You must be signed in to change notification settings

dschuermann/the-one-resource-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Resource Management for the ONE

This is an Application class for the Opportunistic Network Environment simulator (the ONE) to simulate Resource Management.

The basic ideas are taken from the paper "Controlling resource hogs in mobile delay-tolerant networks" by J. Solis, N. Asokan, K. Kostiainen, P. Ginzboorg, and J. Ott (http://www.sciencedirect.com/science/article/pii/S0140366409002151)

For more information on the ONE, go to http://www.netlab.tkk.fi/tutkimus/dtn/theone/.

Implementation Details

The ResourceManagementBuffer implements a second buffer besides the buffer in the ONE. Every node has its own instance of ResourceManagementBuffer. The buffer is based on a HashMap<Integer, HashSet<Message>> where a node address corresponds to partition HashSet<Message>. When the buffer is full on new incoming messages, old messages are dropped from the most exceeding partition, until the new message fits in the buffer.

ToDo

  • Implement domains
  • Improve Dropping Implementation

Changes

It is based on the ONE 1.4.1 with the following additions:

New classes:

  • applications/ResourceManagementApplication
  • applications/ResourceManagementBuffer
  • report/ResourceManagementAppReporter

Changes:

  • routing/MessageRouter.deleteMessage()

About

Application class to simulate Resource Management for the Opportunistic Network Environment simulator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages