COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
11/11/04 10:31:55 (15 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1368
Message:

maxNodeId() and maxEdgeId() changed to maxId(Node) and maxId(Edge)
getNodeObserverRegistry() and getEdgeObserverRegistry() changed to
getObserverRegistry(Node) and getObserverRegistry(Edge)

IdMappableGraphExtender? erased

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/lemon/clearable_graph_extender.h

    r946 r980  
    1515    typedef ClearableGraphExtender Graph;
    1616    typedef _Base Parent;
     17    typedef typename Parent::Node Node;
     18    typedef typename Parent::Edge Edge;
    1719
    1820    void clear() {
    19       Parent::getNodeObserverRegistry().clear();
    20       Parent::getEdgeObserverRegistry().clear();
     21      Parent::getObserverRegistry(Node()).clear();
     22      Parent::getObserverRegistry(Edge()).clear();
    2123      Parent::clear();
    2224    }
Note: See TracChangeset for help on using the changeset viewer.