Changeset 1367:a490662291b9 in lemon-0.x for src/lemon/concept/graph.h
- Timestamp:
- 04/18/05 16:59:24 (19 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1812
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/lemon/concept/graph.h
r1359 r1367 186 186 /// Copy constructor. 187 187 /// 188 NodeIt(const NodeIt& ) { }188 NodeIt(const NodeIt& n) : Node(n) { } 189 189 /// Invalid constructor \& conversion. 190 190 … … 196 196 /// Sets the iterator to the first node of \c g. 197 197 /// 198 NodeIt(const StaticGraph& g) { }198 NodeIt(const StaticGraph&) { } 199 199 /// Node -> NodeIt conversion. 200 200 … … 268 268 /// Copy constructor. 269 269 /// 270 OutEdgeIt(const OutEdgeIt& ) { }270 OutEdgeIt(const OutEdgeIt& e) : Edge(e) { } 271 271 /// Initialize the iterator to be invalid. 272 272 … … 280 280 ///@param n the node 281 281 ///@param g the graph 282 OutEdgeIt(const StaticGraph& g, const Node& n) { }282 OutEdgeIt(const StaticGraph&, const Node&) { } 283 283 /// Edge -> OutEdgeIt conversion 284 284 … … 317 317 /// Copy constructor. 318 318 /// 319 InEdgeIt(const InEdgeIt& ) { }319 InEdgeIt(const InEdgeIt& e) : Edge(e) { } 320 320 /// Initialize the iterator to be invalid. 321 321 … … 329 329 ///@param n the node 330 330 ///@param g the graph 331 InEdgeIt(const StaticGraph& g, const Node& n) { }331 InEdgeIt(const StaticGraph&, const Node&) { } 332 332 /// Edge -> InEdgeIt conversion 333 333 … … 335 335 /// This feature necessitates that each time we 336 336 /// iterate the edge-set, the iteration order is the same. 337 InEdgeIt(const StaticGraph& g, const Edge& n) { }337 InEdgeIt(const StaticGraph&, const Edge&) { } 338 338 /// Next incoming edge 339 339 … … 362 362 /// Copy constructor. 363 363 /// 364 EdgeIt(const EdgeIt& ) { }364 EdgeIt(const EdgeIt& e) : Edge(e) { } 365 365 /// Initialize the iterator to be invalid. 366 366 … … 373 373 /// node 374 374 ///@param g the graph 375 EdgeIt(const StaticGraph& g) { }375 EdgeIt(const StaticGraph&) { } 376 376 /// Edge -> EdgeIt conversion 377 377 … … 414 414 415 415 ///Copy constructor 416 NodeMap(const NodeMap& ) { }416 NodeMap(const NodeMap& nm) : ReadWriteMap< Node, T >(nm) { } 417 417 ///Assignment operator 418 418 NodeMap& operator=(const NodeMap&) { return *this; } … … 437 437 EdgeMap(const StaticGraph&, T) { } 438 438 ///Copy constructor 439 EdgeMap(const EdgeMap& ) { }439 EdgeMap(const EdgeMap& em) : ReadWriteMap<Edge,T>(em) { } 440 440 ///Assignment operator 441 441 EdgeMap& operator=(const EdgeMap&) { return *this; } … … 471 471 ///and target node \c t. 472 472 ///\return the new edge. 473 Edge addEdge(Node s, Node t) { return INVALID; }473 Edge addEdge(Node, Node) { return INVALID; } 474 474 475 475 /// Resets the graph. … … 501 501 /// Deletes node \c n node. 502 502 /// 503 void erase(Node n) { }503 void erase(Node) { } 504 504 /// Deletes an edge. 505 505 506 506 /// Deletes edge \c e edge. 507 507 /// 508 void erase(Edge e) { }508 void erase(Edge) { } 509 509 510 510 template <typename _Graph>
Note: See TracChangeset
for help on using the changeset viewer.