-
Notifications
You must be signed in to change notification settings - Fork 6
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
Discrete Control performance improvements based on AGV model #1529
Merged
Merged
Changes from 8 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
5e55795
Use booleans for truth states in the core
SouthEndMusic 4cae47c
Preallocate memory for storing truth state
SouthEndMusic 3cbf958
Refactor control_mappings to avoid (most, not all) runtime dispatch
SouthEndMusic d04d06d
Fix some tests
SouthEndMusic c4b2ba2
Merge branch 'main' into performance_AGV
SouthEndMusic 371833a
Fix another test
SouthEndMusic 55bc990
Fix last test
SouthEndMusic c3a7196
Merge branch 'main' into performance_AGV
SouthEndMusic 9e76ee0
Merge all control mappings into one in discrete_control.control_mapping
SouthEndMusic e45260b
Merge branch 'main' into performance_AGV
SouthEndMusic 77a2f0d
Cleanup
SouthEndMusic 9a85f22
Merge branch 'main' into performance_AGV
SouthEndMusic 3835d21
Merge branch 'main' into performance_AGV
SouthEndMusic 080e996
Do check on node type in set_control_params! in stead of all the upda…
SouthEndMusic 55e72d6
Some comments adressed
SouthEndMusic efad525
Comments adressed
SouthEndMusic 7e00275
Merge branch 'main' into performance_AGV
SouthEndMusic 4d35e0a
Small improvements.
evetion 67f04a7
Refactor control_mapping to have a node type specific concretely type…
SouthEndMusic 92c82cc
Remove node type specific methods of `discrete_control_parameter_upda…
SouthEndMusic 68577fe
Merge branch 'main' into performance_AGV
SouthEndMusic 965686d
Add the generic discrete_control_parameter_update! method which magic…
SouthEndMusic b9f3ee0
Fix tests
SouthEndMusic ace0b10
Prevent logic_mapping lookup for unchanged truth_state
SouthEndMusic f86d1f7
Pass tests
SouthEndMusic 01f668c
Merge branch 'main' into performance_AGV
SouthEndMusic e23bcb9
Merge functions `discrete_control_affect!` and `discrete_control_cond…
SouthEndMusic 0f624fe
Merge branch 'main' into performance_AGV
SouthEndMusic a2c2d35
Always make discrete_control callback, add docsring to `apply_discret…
SouthEndMusic 5a692eb
Precalculate FlowBoundary outflow ids
SouthEndMusic db6f4c4
Refactor CompoundVariable to have subvariables
SouthEndMusic 1f06437
Predetermine the flow edges
SouthEndMusic ee0a77e
Pass tests
SouthEndMusic 90d0bcc
Document metadata of the graph
SouthEndMusic 5e09ff7
Refactor CompoundVariable construction and usage
SouthEndMusic 5ff4b07
Group the compound variables per discrete control node
SouthEndMusic 2e12fe3
Update documentation of `apply_discrete_control!`
SouthEndMusic 35822c2
Small typo fix
SouthEndMusic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.