COIN-OR::LEMON - Graph Library

Changeset 2031:080d51024ac5 in lemon-0.x for lemon/full_graph.h


Ignore:
Timestamp:
04/03/06 11:45:23 (18 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2670
Message:

Correcting the structure of the graph's and adaptor's map.
The template assign operators and map iterators can be used for adaptors also.

Some bugfix in the adaptors

New class SwapBpUGraphAdaptor which swaps the two nodeset of the graph.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/full_graph.h

    r1999 r2031  
    646646    }
    647647
     648    typedef True NodeNumTag;
     649    int nodeNum() const { return _aNodeNum + _bNodeNum; }
     650    int aNodeNum() const { return _aNodeNum; }
     651    int bNodeNum() const { return _bNodeNum; }
     652
     653    typedef True EdgeNumTag;
     654    int edgeNum() const { return _edgeNum; }
     655
    648656  };
    649657
Note: See TracChangeset for help on using the changeset viewer.