-
Notifications
You must be signed in to change notification settings - Fork 42
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
Large refactor ready for version v2.0.0 #164
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* update networkx requirement to 2.3 * update pyyaml requirement to 5.1 * drop support for python 3.4 and 2.7 * update pypy supprot to pypy3 * update docs to reflect dropping support for python 2.7 and 3.4
Refactoring `current_time` to an attribute of the Simulation and update docs to reflect this.
This is so that in future Routing can take a process based generator function.
Routing keyword can now take function. The Node's next_node takes individual not customer class. next_node routes from function. The Network object has a process_based boolean attribute.
Routing now takes a list of functions. Error raises if starting point and first stop on the route do not correspond.
Add process-based routing feature
This test was giving flaky results on my machine so I have removed the deadline limit and reduced maximum no. of examples required.
Changes API for distributions.
Also adding "detect_deadlock" method to NoDeadlockDetection object for consistancy"
Improve pep8ability
+ Deadlock detectors in sublibrary `deadlock` + State trackers in sublibrary `trackers` + Implemented by inputting the objects into the Simulation object + Remove string inputs + If deadlock detector selected, no state tracker is given used as default
Deadlock detectors and State trackers api change
This messes up random number streams, and so test result had to change.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
current_time
attributeTransition_matrices
keyword torouting
routing
can take a process-based routing function['Exponential', 0.5]
->ciw.dists.Exponential(0.5)
+
,-
,*
and/
deadlock_detector
keyword takes object, not stringtracker
keyword takes object, not stringfloat('inf'
not'Inf
, expect for .yml files