lemon/full_graph.h
changeset 2050 d9a221218ea4
parent 1999 2ff283124dfc
child 2061 7ab148f53d66
equal deleted inserted replaced
20:87393835b90c 21:5bac280019da
   643 
   643 
   644     static Node bNode(int index) {
   644     static Node bNode(int index) {
   645       return Node((index << 1) + 1);
   645       return Node((index << 1) + 1);
   646     }
   646     }
   647 
   647 
       
   648     typedef True NodeNumTag;
       
   649     int nodeNum() const { return _aNodeNum + _bNodeNum; }
       
   650     int aNodeNum() const { return _aNodeNum; }
       
   651     int bNodeNum() const { return _bNodeNum; }
       
   652 
       
   653     typedef True EdgeNumTag;
       
   654     int edgeNum() const { return _edgeNum; }
       
   655 
   648   };
   656   };
   649 
   657 
   650 
   658 
   651   typedef BpUGraphExtender< BpUGraphBaseExtender<
   659   typedef BpUGraphExtender< BpUGraphBaseExtender<
   652     FullBpUGraphBase> > ExtendedFullBpUGraphBase;
   660     FullBpUGraphBase> > ExtendedFullBpUGraphBase;