-
Notifications
You must be signed in to change notification settings - Fork 21
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
Anchors in Scheduling #663
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
Mythicaeda
added
feature
A new feature or feature request
scheduling
Anything related to the scheduling domain
labels
Feb 7, 2023
Mythicaeda
force-pushed
the
feat/anchors-in-simulation
branch
3 times, most recently
from
February 9, 2023 22:39
7e8e763
to
dc7cd06
Compare
This is a more accurate name, as it will always start simulation at either plan start or at the moment it last stopped.
* Made copy-constructor make a copy of the original's arguments and variableArguments, rather than sharing the objects
…ective.startOffset
Mythicaeda
force-pushed
the
feat/anchors-in-scheduling
branch
from
February 13, 2023 23:14
b0ef689
to
b8295f1
Compare
* Replace MerlinActivityInstance with ActivityDirective * Replace PlannedActivityInstance with ActivityDirective * Assign SchedulingActivityDirectives generated from ActivityDirectives an ID of negative the ActivityDirectiveId. This allows us to always know what the non-null anchorId should be during the conversion.
* Remove inaccurate comment from ControllableDurationActivity
Co-authored-by: Matt Dailis <[email protected]>
Mythicaeda
force-pushed
the
feat/anchors-in-scheduling
branch
from
February 13, 2023 23:45
b8295f1
to
c43673b
Compare
adrienmaillard
approved these changes
Feb 14, 2023
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.
LGTM.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Description
This PR:
IncrementalSimultaionDriver
toResumableSimulationDriver
SchedulingActivityInstanceId
->SchedulingActivityDirectiveId
)anchorId
andanchoredToStart
from the database and adds them toSchedulingActivityDirective
ResumableSimulationDriver
schedules activities so that, when an activity finishes, all activities depending on it to know their start time are scheduled.ResumableSimulationDriver
andSimulationFacade
SchedulingActivityDirectiveId
s are assigned forSchedulingActivityDirective
s that come fromActivityDirective
s from the PlanVerification
ResumableSimulationDriver
directly.DurationParameterActivity
now delays for the duration