阅读最新的真实Python教程
load-distributed-routing的Python项目详细描述
分布式负载路由v1.0.5
模拟一个网络并运行一个旨在分配数据包负载以分配电池耗尽的网络协议。在
安装
pip install load-distributed-routing
包链接PyPi
配置文件
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) |
retransmission_delay | Number of seconds TCP waits before retransmission | [0.0, inf) |
beautify | Determines whether the simulation debugs readable information or csv formatted information | [0, 1] |
跑步
^{pr2}$- 项目
标签: