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

Refactor network delay functions to be more dynamic #181

Open
naterush opened this issue Apr 30, 2018 · 1 comment
Open

Refactor network delay functions to be more dynamic #181

naterush opened this issue Apr 30, 2018 · 1 comment

Comments

@naterush
Copy link
Collaborator

Issue

Currently, we define some constants that the network delay functions use to calculate the delay on certain messages. These constants will also include the peer connectivity matrix, when it is created.

However, we have no way of changing these parameters. Ideally, we would be able to change these constants given some command line parameters.

Proposed Implementation

Either define these functions as closures or as classes to allow them to store state. Add command line options for passing further information to these functions to change from the defaults.

@staccDOTsol
Copy link

Thank you for bringing up this issue. I agree that it would be beneficial to make the network delay functions more dynamic and allow for the ability to change the parameters.

One possible implementation approach could be to define these functions as closures or classes, which would enable them to store state and be more flexible in terms of parameter customization. Additionally, introducing command line options to pass information to these functions would provide a convenient way to change the defaults.

By implementing these changes, we can enhance the adaptability and configurability of the network delay functions, allowing for more dynamic simulations and testing scenarios.

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

No branches or pull requests

2 participants