Skip to main content

Read the latest Real Python tutorials

Project description

Distributed Load Routing

Simulates a network and runs a networking protocol aimed to distribute packet load in order to distribute battery depletion.


pip install numpy

Configuration File

Field Description Accepted Values
num_nodes Number of nodes in the network [2, inf)
max_connections Maximum number of connections a node can have [2, num_nodes)
router_ratio Percentage of routers in the network [0.0, 1.0]
buffer_size Number of packets the link layer receive buffer can hold at a time [0, inf)
battery_weight Higher the battery_weight, the more the path avoids low battery [0.0, inf)
beautify Determines whether the simulation debugs readable information or csv formatted information [0, 1]


python config.txt

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for load-distributed-routing, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size load_distributed_routing-1.0.0-py3-none-any.whl (22.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size load-distributed-routing-1.0.0.tar.gz (10.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page