COIN-OR::LEMON - Graph Library

Changeset 407:db3251947eba in lemon


Ignore:
Timestamp:
11/30/08 00:48:07 (15 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Rename flowInit() to init() in Preflow (#176)

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lemon/preflow.h

    r406 r407  
    446446    /// \return %False when the given \c flowMap is not a preflow.
    447447    template <typename FlowMap>
    448     bool flowInit(const FlowMap& flowMap) {
     448    bool init(const FlowMap& flowMap) {
    449449      createStructures();
    450450
  • test/preflow_test.cc

    r406 r407  
    5656
    5757  preflow_test.init();
    58   preflow_test.flowInit(cap);
     58  preflow_test.init(cap);
    5959  preflow_test.startFirstPhase();
    6060  preflow_test.startSecondPhase();
     
    154154
    155155  for(ArcIt e(g); e!=INVALID; ++e) cap[e]=2*cap[e];
    156   preflow_test.flowInit(flow);
     156  preflow_test.init(flow);
    157157  preflow_test.startFirstPhase();
    158158
Note: See TracChangeset for help on using the changeset viewer.