COIN-OR::LEMON - Graph Library

Changeset 473:2cef25dcde3f in lemon-0.x


Ignore:
Timestamp:
04/29/04 18:04:27 (20 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@630
Message:

ledagraph

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/marci/leda/leda_graph_wrapper.h

    r461 r473  
    4444  class LedaGraphWrapper
    4545  {
     46  protected:
    4647    Graph* _graph;
     48    LedaGraphWrapper() : _graph(0) { }
     49    setGraph(Graph& __graph) { _graph=&__graph; }
    4750  public:
    4851   
     
    306309  };
    307310
     311  template<typename Graph>
     312  class LedaGraph : public LedaGraphWrapper<Graph> {
     313    typedef LedaGraphWrapper<Graph> Parent;
     314  protected:
     315    Graph gr;
     316  public:
     317    LedaGraph() {
     318      Parent::setGraph(gr);
     319    }
     320  };
     321
    308322  // @}
    309323
Note: See TracChangeset for help on using the changeset viewer.