equal
deleted
inserted
replaced
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. |