lemon/list_graph.h
changeset 2231 06faf3f06d67
parent 2189 de2b77e3868c
child 2256 b22dfb6c5ff3
     1.1 --- a/lemon/list_graph.h	Tue Oct 03 11:24:41 2006 +0000
     1.2 +++ b/lemon/list_graph.h	Tue Oct 03 11:46:39 2006 +0000
     1.3 @@ -1270,7 +1270,7 @@
     1.4      static int aNodeId(const Node& node) {
     1.5        return node.id >> 1;
     1.6      }
     1.7 -    static Node fromANodeId(int id) {
     1.8 +    static Node nodeFromANodeId(int id) {
     1.9        return Node(id << 1);
    1.10      }
    1.11      int maxANodeId() const {
    1.12 @@ -1280,7 +1280,7 @@
    1.13      static int bNodeId(const Node& node) {
    1.14        return node.id >> 1;
    1.15      }
    1.16 -    static Node fromBNodeId(int id) {
    1.17 +    static Node nodeFromBNodeId(int id) {
    1.18        return Node((id << 1) + 1);
    1.19      }
    1.20      int maxBNodeId() const {
    1.21 @@ -1482,7 +1482,8 @@
    1.22    };
    1.23  
    1.24  
    1.25 -  typedef BpUGraphExtender< ListBpUGraphBase > ExtendedListBpUGraphBase;
    1.26 +  typedef BpUGraphExtender<BidirBpUGraphExtender<ListBpUGraphBase> > 
    1.27 +  ExtendedListBpUGraphBase;
    1.28  
    1.29    /// \ingroup graphs
    1.30    ///