Opened 16 years ago
Closed 16 years ago
#264 closed defect (fixed)
Improvements and fixes for some algorithms
Reported by: | Peter Kovacs | Owned by: | Peter Kovacs |
---|---|---|---|
Priority: | major | Milestone: | LEMON 1.1 release |
Component: | core | Version: | hg main |
Keywords: | Cc: | ||
Revision id: |
Description
Attachments (5)
Change History (19)
Changed 16 years ago by
Attachment: | impr-ec88ea358b76-477748655ff2-d5355a5e7b6a.bundle added |
---|
comment:1 Changed 16 years ago by
Status: | new → assigned |
---|
comment:2 follow-ups: 3 13 Changed 16 years ago by
These changes revealed another problem/bug. In [477748655ff2] I extended the test file for HaoOrlin
, since it was only tested for an undirected graph although it is designed for directed graphs. It gives zero as the minimum cut value for all the three digraph instances I've added to the test file, although as far as I understand the definition of the problem, all instances should have positive solution. See the hao_orlin_test.cc file for more details.
Could someone check the test digraph instances and verify or contradict the bug notes I put in the test file?
comment:3 follow-up: 9 Changed 16 years ago by
Replying to kpeter:
Could someone check the test digraph instances and verify or contradict the bug notes I put in the test file?
I made a mistake in this test file, [293551ad254f] contains a fixed version for this problematic changeset. It still gives faulty results, as far as I see. Could someone check it, please?
Changed 16 years ago by
Attachment: | impr1-293551ad254f.patch added |
---|
Changed 16 years ago by
Attachment: | impr2-493533ead9df-2ebfdb89ec66.bundle added |
---|
comment:4 Changed 16 years ago by
The attached bundle file contains two changesets: [493533ead9df], [2ebfdb89ec66]. The first one is bug fix for Euler iterators, the second one contains a lot of doc + test improvements for the Euler tools. (It is an extended version of the previous changeset [ec88ea358b76]).
Changed 16 years ago by
Attachment: | impr3-b61354458b59.patch added |
---|
comment:5 Changed 16 years ago by
And finally [b61354458b59] is the same as [d5355a5e7b6a], but it is rebased on the top the current main repository.
comment:6 follow-up: 7 Changed 16 years ago by
I got lost. Could you explain which changesets are still relevant?
comment:7 follow-up: 8 Changed 16 years ago by
Replying to alpar:
I got lost. Could you explain which changesets are still relevant?
All changesets except for the ones in the first bundle file.
- [293551ad254f] for the min. cut algorithms (
HaoOrlin
andGomoryHu
).HaoOrlin
still seems to give false results.make check
passes for this changeset, but it shouldn't (and there are additional checks which are in comments now, but they should also work) as far as I understand. - [493533ead9df] and [2ebfdb89ec66] for the Euler tools (bug fix + improvements).
- [d5355a5e7b6a] for the matching algorithms.
All of them are rebased on [630c4898c548].
comment:8 follow-up: 10 Changed 16 years ago by
Replying to kpeter:
Replying to alpar:
I got lost. Could you explain which changesets are still relevant?
And what about [b61354458b59]? Is it relevant too?
comment:9 follow-up: 11 Changed 16 years ago by
Replying to kpeter:
I made a mistake in this test file, [293551ad254f] contains a fixed version for this problematic changeset. It still gives faulty results, as far as I see. Could someone check it, please?
Have this issue been resolved somewhere?
comment:10 Changed 16 years ago by
Replying to alpar:
Replying to kpeter:
Replying to alpar:
I got lost. Could you explain which changesets are still relevant?
And what about [b61354458b59]? Is it relevant too?
I made a mistake, I wrote [d5355a5e7b6a], but I wanted to write [b61354458b59]. They are indeed the same, but the later one is rebased on the top of the main repository.
So consider:
- [293551ad254f] for the min. cut algorithms.
- [493533ead9df] and [2ebfdb89ec66] for the Euler tools.
- [b61354458b59] for the matching algorithms.
comment:11 follow-up: 12 Changed 16 years ago by
Replying to alpar:
Replying to kpeter:
I made a mistake in this test file, [293551ad254f] contains a fixed version for this problematic changeset. It still gives faulty results, as far as I see. Could someone check it, please?
Have this issue been resolved somewhere?
No. make check
passes in [293551ad254f], but I think it shouldn't.
The other three changesets that were mentioned in my previous comment could be pushed into the main branch.
comment:12 Changed 16 years ago by
Replying to kpeter:
Have this issue been resolved somewhere?
No.
make check
passes in [293551ad254f], but I think it shouldn't.
Do something with it, please.
The other three changesets that were mentioned in my previous comment could be pushed into the main branch.
Done.
comment:13 Changed 16 years ago by
Replying to kpeter:
These changes revealed another problem/bug. In [477748655ff2] I extended the test file for
HaoOrlin
, since it was only tested for an undirected graph although it is designed for directed graphs. It gives zero as the minimum cut value for all the three digraph instances I've added to the test file, although as far as I understand the definition of the problem, all instances should have positive solution. See the hao_orlin_test.cc file for more details.Could someone check the test digraph instances and verify or contradict the bug notes I put in the test file?
I checked the new tests, and the results were really wrong. The problem came from the missing reinitialization of _source_set. The [2ca0cdb5f366] contains the patch.
comment:14 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The attached bundle file contains three changesets: [ec88ea358b76], [477748655ff2], [d5355a5e7b6a], all of which significantly improve the documentation and the test files of some algorithms or tools.