COIN-OR::LEMON - Graph Library

Ignore:
Timestamp:
11/11/04 10:31:55 (16 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/extendable_graph_extender.h

    r946 r980  
    1818    Node addNode() {
    1919      Node node = Parent::addNode();
    20       Parent::getNodeObserverRegistry().add(node);
     20      Parent::getObserverRegistry(Node()).add(node);
    2121      return node;
    2222    }
     
    2424    Edge addEdge(const Node& from, const Node& to) {
    2525      Edge edge = Parent::addEdge(from, to);
    26       Parent::getEdgeObserverRegistry().add(edge);
     26      Parent::getObserverRegistry(Edge()).add(edge);
    2727      return edge;
    2828    }
Note: See TracChangeset for help on using the changeset viewer.