Opened 16 years ago
Last modified 15 years ago
#180 closed task
Port the remaining min. cost flow algorithms — at Version 7
Reported by: | Alpar Juttner | Owned by: | Peter Kovacs |
---|---|---|---|
Priority: | major | Milestone: | LEMON 1.2 release |
Component: | core | Version: | hg main |
Keywords: | Cc: | ||
Revision id: |
Description (last modified by )
This ticket is a follow-up of #47.
The affected files are
- lemon/cancel_and_tighten.h
- lemon/capacity_scaling.h
- lemon/cost_scaling.h
- lemon/cycle_canceling.h
- lemon/min_cost_flow.h
- lemon/min_cost_max_flow.h
Change History (11)
comment:1 Changed 16 years ago by
Type: | defect → enhancement |
---|
comment:2 Changed 16 years ago by
Description: | modified (diff) |
---|
comment:3 follow-up: 5 Changed 16 years ago by
Milestone: | LEMON 1.1 release |
---|---|
Status: | new → assigned |
Summary: | Port the min. cost flow algorithms. → Port the min. cost flow algorithms |
Type: | enhancement → task |
comment:4 Changed 16 years ago by
Description: | modified (diff) |
---|---|
Summary: | Port the min. cost flow algorithms → Port the remaining min. cost flow algorithms |
The porting of Network Simplex is separated from the other MCF algorithms, since it is the most important, and it is easier to revise the interface of a single file. See #234 for details. For now on this ticket is only about the remaining MCF algorithms.
comment:5 Changed 16 years ago by
Replying to kpeter:
This task depends on #51 and #179. Maybe it would be better in 1.2.
Only BellmanFord
class is needed from #51.
Apart from that StaticDigraph
(#68) would be good to have for these files, too. In fact, it is not used in the current SVN versions (-r3520), but it would be much more efficient in some cases to copy the used ResidualDigraph
adaptor to a StaticDigraph
structure before running an algorithm (e.g. BellmanFord
or MinMeanCycle
) on it.
comment:6 Changed 16 years ago by
Milestone: | → LEMON 1.2 release |
---|
comment:7 Changed 15 years ago by
Description: | modified (diff) |
---|
To sum it up, this task depends on the following tickets:
and finally
- #146 Cheap copy of maps (reference counting)
Maps are usually copied using copy constructor oroperator=
in the current implementations in SVN, but these methods can be avoided, if it is really necessary.
#51, #68 and #179 already contain the necessary patches, they only have to be revised.
Changed 15 years ago by
Attachment: | 180-cas1-317a0e41f3d5.patch added |
---|
Changed 15 years ago by
Attachment: | 180-cas2-49cf636d96c5.patch added |
---|
Changed 15 years ago by
Attachment: | 180-cas3-c9964582a1bd.patch added |
---|
Changed 15 years ago by
Attachment: | 180-cas4-08f7479bbc45.patch added |
---|
This task depends on #51 and #179. Maybe it would be better in 1.2.