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

Fix decremental connectivity #517

Merged
merged 7 commits into from
Apr 20, 2022
Merged

Fix decremental connectivity #517

merged 7 commits into from
Apr 20, 2022

Conversation

flo-dup
Copy link
Contributor

@flo-dup flo-dup commented Apr 15, 2022

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)
  • Docs have been added / updated (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?
The edges are not identified, therefore removing several times an edge by calling connectivity.remove(vertex1, vertex2) cannot be interpreted as either an error or a removal of two parallel edges.

What is the new behavior (if this is a feature change)?
The decremental connectivity takes an edge as argument when the edge is added and removal is done by giving the edge as argument.

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

flo-dup added 2 commits April 15, 2022 17:11
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
@flo-dup flo-dup mentioned this pull request Apr 15, 2022
3 tasks
@flo-dup flo-dup requested a review from geofjamg April 15, 2022 15:37
annetill and others added 5 commits April 20, 2022 09:15
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
Signed-off-by: Florian Dupuy <florian.dupuy@rte-france.com>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

95.3% 95.3% Coverage
0.0% 0.0% Duplication

@flo-dup flo-dup merged commit 3493587 into main Apr 20, 2022
@flo-dup flo-dup deleted the fix_decremental_connectivity branch April 20, 2022 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants