SimpleEdge comparison
Implement < for SimpleEdge. This can be useful in different situations (in my case, sort and then compare two arrays of edges).
Codecov Report
Merging #134 (37b9a02) into master (5608e49) will decrease coverage by
0.32%. The diff coverage isn/a.
@@ Coverage Diff @@
## master #134 +/- ##
==========================================
- Coverage 97.54% 97.23% -0.32%
==========================================
Files 109 114 +5
Lines 6319 6585 +266
==========================================
+ Hits 6164 6403 +239
- Misses 155 182 +27
I fully support this. It has already come up in the past, but was not merged back then: https://github.com/sbromberger/LightGraphs.jl/pull/986/files and maybe also semi related: https://github.com/sbromberger/LightGraphs.jl/pull/1514
I am also wondering, if we should not define isless, hash and equals for all AbstractEdge.
@CarloLucibello what is the status here?
@CarloLucibello what do you think?
Sorry I dropped this ball, the proposed changes looks fine.
No worries, thanks for setting this up in the first place! Will merge as soon as the CI passes