Changeset 332:5dc61ba30730 in lemon-0.x for src
- Timestamp:
- 04/15/04 21:01:00 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@451
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/marci/graph_concept.h
r325 r332 4 4 5 5 ///\file 6 ///\brief Declaration of GraphSkelet on.6 ///\brief Declaration of GraphSkeleturo. 7 7 8 8 #include <invalid.h> … … 11 11 namespace hugo { 12 12 13 // @defgroup empty_graph The GraphSkeletonclass14 // @{13 /// @defgroup empty_graph The GraphSkeleturo class 14 /// @{ 15 15 16 16 /// An empty graph class. … … 29 29 /// like @ref ListGraph or 30 30 /// @ref SmartGraph will just refer to this structure. 31 class GraphSkelet on31 class GraphSkeleturo 32 32 { 33 33 public: 34 34 /// Defalult constructor. 35 GraphSkelet on() {}35 GraphSkeleturo() {} 36 36 ///Copy consructor. 37 37 38 38 ///\todo It is not clear, what we expect from a copy constructor. 39 39 ///E.g. How to assign the nodes/edges to each other? What about maps? 40 GraphSkelet on(const GraphSkeleton&G) {}40 GraphSkeleturo(const GraphSkeleturo &G) {} 41 41 42 42 /// The base type of the node iterators. … … 88 88 NodeIt(Invalid) {} 89 89 /// Sets the iterator to the first node of \c G. 90 NodeIt(const GraphSkelet on&G) {}90 NodeIt(const GraphSkeleturo &G) {} 91 91 /// @warning The default constructor sets the iterator 92 92 /// to an undefined value. … … 135 135 ///@param n the node 136 136 ///@param G the graph 137 OutEdgeIt(const GraphSkelet on& G, Node n) {}137 OutEdgeIt(const GraphSkeleturo & G, Node n) {} 138 138 }; 139 139 … … 157 157 /// Initialize the iterator to be invalid 158 158 InEdgeIt(Invalid) {} 159 InEdgeIt(const GraphSkelet on&, Node) {}159 InEdgeIt(const GraphSkeleturo &, Node) {} 160 160 }; 161 161 // class SymEdgeIt : public Edge {}; … … 177 177 /// Initialize the iterator to be invalid 178 178 EdgeIt(Invalid) {} 179 EdgeIt(const GraphSkelet on&) {}179 EdgeIt(const GraphSkeleturo &) {} 180 180 }; 181 181 … … 269 269 270 270 ///Read/write/reference map of the nodes to type \c T. 271 /// \sa MemoryMapSkelet on271 /// \sa MemoryMapSkeleturo 272 272 /// \todo We may need copy constructor 273 273 /// \todo We may need conversion from other nodetype … … 282 282 typedef Node KeyType; 283 283 284 NodeMap(const GraphSkelet on&G) {}285 NodeMap(const GraphSkelet on&G, T t) {}284 NodeMap(const GraphSkeleturo &G) {} 285 NodeMap(const GraphSkeleturo &G, T t) {} 286 286 287 287 template<typename TT> NodeMap(const NodeMap<TT> &m) {} … … 310 310 ///It behaves exactly in the same way as \ref NodeMap. 311 311 /// \sa NodeMap 312 /// \sa MemoryMapSkelet on312 /// \sa MemoryMapSkeleturo 313 313 /// \todo We may need copy constructor 314 314 /// \todo We may need conversion from other edgetype … … 320 320 typedef Edge KeyType; 321 321 322 EdgeMap(const GraphSkelet on&G) {}323 EdgeMap(const GraphSkelet on&G, T t) {}322 EdgeMap(const GraphSkeleturo &G) {} 323 EdgeMap(const GraphSkeleturo &G, T t) {} 324 324 325 325 void set(Edge i, T t) {} … … 342 342 /// 343 343 /// \todo This blabla could be replaced by a sepatate description about 344 /// Skelet ons.344 /// Skeleturos. 345 345 /// 346 346 /// It can be used for checking the interface compatibility, … … 351 351 /// like @ref ListGraph or 352 352 /// @ref SmartGraph will just refer to this structure. 353 class EraseableGraphSkelet on : public GraphSkeleton353 class EraseableGraphSkeleturo : public GraphSkeleturo 354 354 { 355 355 public: … … 360 360 361 361 /// Defalult constructor. 362 GraphSkelet on() {}362 GraphSkeleturo() {} 363 363 ///Copy consructor. 364 GraphSkelet on(const GraphSkeleton&G) {}364 GraphSkeleturo(const GraphSkeleturo &G) {} 365 365 }; 366 367 368 // @}369 370 366 371 367 /// An empty graph class which provides a function to get the number … … 378 374 /// the implementation can be circumstantial, that is why this composes a 379 375 /// separate concept. 380 class NodeCountingGraphSkelet on376 class NodeCountingGraphSkeleturo 381 377 { 382 378 public: … … 394 390 /// the implementation can be circumstantial, that is why this composes a 395 391 /// separate concept. 396 class EdgeCountingGraphSkelet on392 class EdgeCountingGraphSkeleturo 397 393 { 398 394 public: … … 400 396 int edgeNum() const { return 0;} 401 397 }; 398 399 /// @} 402 400 403 401 } //namespace hugo 404 402 405 403 406 // class EmptyBipGraph : public Graph Skeleton 404 405 // class EmptyBipGraph : public Graph Skeleturo 407 406 // { 408 407 // class ANode {};
Note: See TracChangeset
for help on using the changeset viewer.