COIN-OR::LEMON - Graph Library

Changeset 127:dcace15b1874 in lemon-0.x for src/work/edmonds_karp.hh


Ignore:
Timestamp:
02/24/04 19:22:53 (17 years ago)
Author:
Mihaly Barasz
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@173
Message:

private typedef problemak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/edmonds_karp.hh

    r107 r127  
    1313  template<typename Graph, typename Number, typename FlowMap, typename CapacityMap>
    1414  class ResGraph {
     15  public:
    1516    typedef typename Graph::NodeIt NodeIt;
    1617    typedef typename Graph::EachNodeIt EachNodeIt;
     18  private:
    1719    typedef typename Graph::SymEdgeIt OldSymEdgeIt;
    1820    const Graph& G;
     
    119121  template<typename Graph, typename Number, typename FlowMap, typename CapacityMap>
    120122  class ResGraph2 {
     123  public:
    121124    typedef typename Graph::NodeIt NodeIt;
    122125    typedef typename Graph::EachNodeIt EachNodeIt;
     126  private:
    123127    //typedef typename Graph::SymEdgeIt OldSymEdgeIt;
    124128    typedef typename Graph::OutEdgeIt OldOutEdgeIt;
     
    244248  template<typename Graph, typename Number, typename FlowMap, typename CapacityMap>
    245249  class ResGraph3 {
    246 public:
     250  public:
    247251    typedef typename Graph::NodeIt NodeIt;
    248252    typedef typename Graph::EachNodeIt EachNodeIt;
     253
     254  private:
    249255    //typedef typename Graph::SymEdgeIt OldSymEdgeIt;
    250256    typedef typename Graph::OutEdgeIt OldOutEdgeIt;
    251257    typedef typename Graph::InEdgeIt OldInEdgeIt;
    252    
    253 private:
    254258    const Graph& G;
    255259    FlowMap& flow;
     
    378382  template <typename Graph, typename Number, typename FlowMap, typename CapacityMap>
    379383  class MaxFlow {
     384  public:
    380385    typedef typename Graph::NodeIt NodeIt;
    381386    typedef typename Graph::EdgeIt EdgeIt;
     
    383388    typedef typename Graph::OutEdgeIt OutEdgeIt;
    384389    typedef typename Graph::InEdgeIt InEdgeIt;
     390
     391  private:
    385392    const Graph& G;
    386393    NodeIt s;
     
    549556  template <typename Graph, typename Number, typename FlowMap, typename CapacityMap>
    550557  class MaxFlow2 {
     558  public:
    551559    typedef typename Graph::NodeIt NodeIt;
    552560    typedef typename Graph::EdgeIt EdgeIt;
     
    554562    typedef typename Graph::OutEdgeIt OutEdgeIt;
    555563    typedef typename Graph::InEdgeIt InEdgeIt;
     564  private:
    556565    const Graph& G;
    557566    std::list<NodeIt>& S;
Note: See TracChangeset for help on using the changeset viewer.