-
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
Refactor of ActivityExpression and derived classes #1175
Refactor of ActivityExpression and derived classes #1175
Conversation
scheduler-driver/src/main/java/gov/nasa/jpl/aerie/scheduler/goals/CoexistenceGoal.java
Outdated
Show resolved
Hide resolved
scheduler-driver/src/main/java/gov/nasa/jpl/aerie/scheduler/EquationSolvingAlgorithms.java
Show resolved
Hide resolved
...er/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/activities/ActivityExpression.java
Outdated
Show resolved
Hide resolved
...er/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/activities/ActivityExpression.java
Outdated
Show resolved
Hide resolved
...er/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/activities/ActivityExpression.java
Outdated
Show resolved
Hide resolved
...er/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/activities/ActivityExpression.java
Outdated
Show resolved
Hide resolved
...er/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/activities/ActivityExpression.java
Outdated
Show resolved
Hide resolved
...er/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/activities/ActivityExpression.java
Outdated
Show resolved
Hide resolved
730f349
to
eab1244
Compare
@Mythicaeda I have made the changes. |
...er/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/activities/ActivityExpression.java
Outdated
Show resolved
Hide resolved
...duler-driver/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/TimeRangeExpression.java
Show resolved
Hide resolved
eab1244
to
a45153b
Compare
a45153b
to
9cbe43e
Compare
Made the changes + I have collapsed the 2 matches method into one with a supplementary parameter commanding whether the match on arguments should be on the subset of total equality. Cleaner. |
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! Last couple comments are minor code cleanup and can be ignored
...er/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/activities/ActivityExpression.java
Outdated
Show resolved
Hide resolved
...er/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/activities/ActivityExpression.java
Outdated
Show resolved
Hide resolved
...er/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/activities/ActivityExpression.java
Show resolved
Hide resolved
...er/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/activities/ActivityExpression.java
Show resolved
Hide resolved
...er/src/main/java/gov/nasa/jpl/aerie/scheduler/constraints/activities/ActivityExpression.java
Outdated
Show resolved
Hide resolved
9cbe43e
to
67bb88a
Compare
Description
The hierarchy was an unnecessary mess. The approach taken is: get rid of all but
ActivityExpression
, the parent class of all.Verification
It's a refactor. All existing tests pass.
Documentation
None.
Future work
Same kind of approach for #1173