lemon/full_graph.h
changeset 1996 5dc13b93f8b4
parent 1993 2115143eceea
child 1999 2ff283124dfc
equal deleted inserted replaced
18:3d78f44797e2 19:7aecc7a60ffd
   604     }
   604     }
   605   
   605   
   606     static int aNodeId(const Node& node) {
   606     static int aNodeId(const Node& node) {
   607       return node.id >> 1;
   607       return node.id >> 1;
   608     }
   608     }
   609     static Node fromANodeId(int id, Node) {
   609     static Node fromANodeId(int id) {
   610       return Node(id << 1);
   610       return Node(id << 1);
   611     }
   611     }
   612     int maxANodeId() const {
   612     int maxANodeId() const {
   613       return _aNodeNum;
   613       return _aNodeNum;
   614     }
   614     }