lemon/list_graph.h
changeset 1996 5dc13b93f8b4
parent 1991 d7442141d9ef
child 1999 2ff283124dfc
equal deleted inserted replaced
20:61e390f77092 21:cbbbadd096c0
   809     }
   809     }
   810   
   810   
   811     static int aNodeId(const Node& node) {
   811     static int aNodeId(const Node& node) {
   812       return node.id >> 1;
   812       return node.id >> 1;
   813     }
   813     }
   814     static Node fromANodeId(int id, Node) {
   814     static Node fromANodeId(int id) {
   815       return Node(id << 1);
   815       return Node(id << 1);
   816     }
   816     }
   817     int maxANodeId() const {
   817     int maxANodeId() const {
   818       return aNodes.size();
   818       return aNodes.size();
   819     }
   819     }