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

fixed global virtual costs and a .equals not being used #919

Merged
merged 3 commits into from
Mar 21, 2024

Conversation

phiedw
Copy link
Collaborator

@phiedw phiedw commented Mar 8, 2024

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)

Does this PR already have an issue describing the problem?

No

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

In the merged results, the virtual cost was not always checking virtual costs caused by preventive perimeter cnecs.
In AutomatonPerimeterResultImpl, we checked equality on states using != instead of .equals.

What is the new behavior (if this is a feature change)?
In the merged results, the virtual cost also checks preventive perimeter cnecs.
In AutomatonPerimeterResultImpl, we now check equality with.equals.

Does this PR introduce a breaking change or deprecate an API?

  • Yes
  • No

Signed-off-by: Philippe Edwards <philippe.edwards@rte-france.com>
@pet-mit pet-mit merged commit c77149f into main Mar 21, 2024
6 checks passed
@pet-mit pet-mit deleted the fix_global_virtual_costs branch March 21, 2024 16:32
jipea pushed a commit that referenced this pull request Apr 2, 2024
Signed-off-by: jipea <arnould.jp@gmail.com>
MartinBelthle pushed a commit that referenced this pull request May 28, 2024
Signed-off-by: belthlemar <martin.belthle@rte-france.com>
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

Successfully merging this pull request may close these issues.

None yet

2 participants