Changeset 977:48962802d168 in lemon-0.x for src/lemon/full_graph.h
- Timestamp:
- 11/10/04 21:14:32 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1365
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/full_graph.h
r959 r977 20 20 21 21 #include <lemon/idmappable_graph_extender.h> 22 23 22 #include <lemon/iterable_graph_extender.h> 24 25 23 #include <lemon/alteration_observer_registry.h> 26 24 #include <lemon/default_map.h> 25 26 #include <lemon/invalid.h> 27 #include <lemon/utility.h> 28 27 29 28 30 ///\ingroup graphs … … 30 32 ///\brief FullGraph and SymFullGraph classes. 31 33 32 33 #include <lemon/invalid.h>34 34 35 35 namespace lemon { … … 59 59 // : NodeNum(_g.nodeNum()), EdgeNum(NodeNum*NodeNum) { } 60 60 61 typedef True NodeNumTag; 62 typedef True EdgeNumTag; 63 61 64 ///Number of nodes. 62 65 int nodeNum() const { return NodeNum; } … … 207 210 }; 208 211 209 template <>210 int countNodes<FullGraph>(const FullGraph& graph) {211 return graph.nodeNum();212 }213 214 template <>215 int countEdges<FullGraph>(const FullGraph& graph) {216 return graph.edgeNum();217 }218 219 212 /// @} 220 213 … … 222 215 223 216 224 225 226 217 #endif //LEMON_FULL_GRAPH_H
Note: See TracChangeset
for help on using the changeset viewer.