lemon/graph_utils.h
changeset 2194 eaf16c8f6fef
parent 2155 c712e66532d8
child 2201 597714206430
equal deleted inserted replaced
52:e6cd3e11182c 53:fd5d87f91a82
   169     struct CountANodesSelector<
   169     struct CountANodesSelector<
   170       Graph, typename 
   170       Graph, typename 
   171       enable_if<typename Graph::NodeNumTag, void>::type> 
   171       enable_if<typename Graph::NodeNumTag, void>::type> 
   172     {
   172     {
   173       static int count(const Graph &g) {
   173       static int count(const Graph &g) {
   174         return g.nodeNum();
   174         return g.aNodeNum();
   175       }
   175       }
   176     };    
   176     };    
   177   }
   177   }
   178 
   178 
   179   /// \brief Function to count the anodes in the graph.
   179   /// \brief Function to count the anodes in the graph.
   202     struct CountBNodesSelector<
   202     struct CountBNodesSelector<
   203       Graph, typename 
   203       Graph, typename 
   204       enable_if<typename Graph::NodeNumTag, void>::type> 
   204       enable_if<typename Graph::NodeNumTag, void>::type> 
   205     {
   205     {
   206       static int count(const Graph &g) {
   206       static int count(const Graph &g) {
   207         return g.nodeNum();
   207         return g.bNodeNum();
   208       }
   208       }
   209     };    
   209     };    
   210   }
   210   }
   211 
   211 
   212   /// \brief Function to count the bnodes in the graph.
   212   /// \brief Function to count the bnodes in the graph.