COIN-OR::LEMON - Graph Library

Changeset 524:bd8109f8e2fa in lemon-0.x for src


Ignore:
Timestamp:
05/04/04 14:01:49 (20 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@690
Message:

An undirected graph template UndirGraph?<Graph> can be used.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/graph_wrapper.h

    r499 r524  
    542542  };
    543543 
     544
     545
     546  /// An undirected graph template
     547  template<typename Graph>
     548  class UndirGraph : public UndirGraphWrapper<Graph> {
     549    typedef UndirGraphWrapper<Graph> Parent;
     550  protected:
     551    Graph gr;
     552  public:
     553    UndirGraph() : UndirGraphWrapper<Graph>() {
     554      Parent::setGraph(gr);
     555    }
     556  };
     557
     558 
     559
    544560  /// A wrapper for composing the residual graph for directed flow and circulation problems.
    545561
Note: See TracChangeset for help on using the changeset viewer.