COIN-OR::LEMON - Graph Library

Changeset 1058:2f00ef323c2e in lemon-main for lemon


Ignore:
Timestamp:
02/28/13 18:05:56 (11 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Rename DefFlowMap? named parameter to SetFlowMap? (#177)
in EdmondsKarp? according to Preflow

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/edmonds_karp.h

    r1057 r1058  
    173173
    174174    template <typename T>
    175     struct DefFlowMapTraits : public Traits {
     175    struct SetFlowMapTraits : public Traits {
    176176      typedef T FlowMap;
    177177      static FlowMap *createFlowMap(const Digraph&) {
     
    187187    /// type
    188188    template <typename T>
    189     struct DefFlowMap
    190       : public EdmondsKarp<Digraph, CapacityMap, DefFlowMapTraits<T> > {
    191       typedef EdmondsKarp<Digraph, CapacityMap, DefFlowMapTraits<T> >
    192       Create;
     189    struct SetFlowMap
     190      : public EdmondsKarp<Digraph, CapacityMap, SetFlowMapTraits<T> > {
     191      typedef EdmondsKarp<Digraph, CapacityMap, SetFlowMapTraits<T> > Create;
    193192    };
    194193
Note: See TracChangeset for help on using the changeset viewer.