COIN-OR::LEMON - Graph Library

Changeset 2031:080d51024ac5 in lemon-0.x for lemon/bits/base_extender.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/bits/base_extender.h

    r1999 r2031  
    467467      return Edge(edge, direction);
    468468    }
     469
     470    int edgeNum() const {
     471      return 2 * Parent::edgeNum();
     472    }
     473
     474    int uEdgeNum() const {
     475      return Parent::edgeNum();
     476    }
     477
    469478  };
    470479
Note: See TracChangeset for help on using the changeset viewer.