pydistsim.network.behavior
Behavioral properties for a network. These properties include message ordering, message loss, clock increment, message delay, node processing frequency and bounded communication delays. The properties are used to simulate different network behaviors, such as a network with message ordering, no message loss and synchronized clocks.
Functions
Random increment between 1 and 10. |
|
Delay a message by the number of pending messages in the network. |
|
Delay every message by the number of nodes in the network. |
|
Half the nodes are slow and will process every other message. |
|
Half the nodes are fast and will process every message. |
|
Delay a message by a random number between 0 and the number of nodes in the network. |
|
Randomly lose a message with a given probability. |
|
Random increment is 1 or 2. |
Classes
Behavioral properties for a network. |