Changeset 1946:17eb3eaad9f8 in lemon-0.x for lemon/graph_reader.h
- Timestamp:
- 02/02/06 18:43:24 (18 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2521
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/graph_reader.h
r1935 r1946 55 55 /// it should skip the values when the string representation contains spaces. 56 56 /// 57 /// 57 ///\code 58 58 /// GraphReader<ListGraph> reader(std::cin, graph); 59 /// 59 ///\endcode 60 60 /// 61 61 /// The \c readNodeMap() function reads a map from the \c \@nodeset section. … … 65 65 /// parameters. 66 66 /// 67 /// 67 ///\code 68 68 /// reader.readNodeMap("coords", coords); 69 69 /// … … 71 71 /// 72 72 /// reader.readNodeMap("color", colorMap); 73 /// 73 ///\endcode 74 74 /// 75 75 /// With the \c readEdgeMap() member function you can give an edge map 76 76 /// reading command similar to the NodeMaps. 77 77 /// 78 /// 78 ///\code 79 79 /// reader.readEdgeMap("weight", weightMap); 80 80 /// reader.readEdgeMap("label", labelMap); 81 /// 81 ///\endcode 82 82 /// 83 83 /// With \c readNode() and \c readEdge() functions you can read 84 84 /// labeled Nodes and Edges. 85 85 /// 86 /// 86 ///\code 87 87 /// reader.readNode("source", sourceNode); 88 88 /// reader.readNode("target", targetNode); 89 89 /// 90 90 /// reader.readEdge("observed", edge); 91 /// 91 ///\endcode 92 92 /// 93 93 /// With the \c readAttribute() functions you can read an attribute … … 98 98 /// function, which executes all the commands. 99 99 /// 100 /// 100 ///\code 101 101 /// reader.run(); 102 /// 102 ///\endcode 103 103 /// 104 104 /// \see DefaultReaderTraits … … 399 399 /// it should skip the values when the string representation contains spaces. 400 400 /// 401 /// 401 ///\code 402 402 /// UGraphReader<ListUGraph> reader(std::cin, graph); 403 /// 403 ///\endcode 404 404 /// 405 405 /// The \c readNodeMap() function reads a map from the \c \@nodeset section. … … 409 409 /// parameters. 410 410 /// 411 /// 411 ///\code 412 412 /// reader.readNodeMap("coords", coords); 413 413 /// … … 415 415 /// 416 416 /// reader.readNodeMap("color", colorMap); 417 /// 417 ///\endcode 418 418 /// 419 419 /// With the \c readUEdgeMap() member function you can give an 420 420 /// uedge map reading command similar to the NodeMaps. 421 421 /// 422 /// 422 ///\code 423 423 /// reader.readUEdgeMap("capacity", capacityMap); 424 /// 424 ///\endcode 425 425 /// 426 426 /// The reading of the directed edge maps is just a syntactical sugar. … … 429 429 /// \c '-' character and the same. 430 430 /// 431 /// 431 ///\code 432 432 /// reader.readEdgeMap("flow", flowMap); 433 /// 433 ///\endcode 434 434 /// 435 435 /// With \c readNode() and \c readUEdge() functions you can read 436 436 /// labeled Nodes and UEdges. 437 437 /// 438 /// 438 ///\code 439 439 /// reader.readNode("source", sourceNode); 440 440 /// reader.readNode("target", targetNode); 441 441 /// 442 442 /// reader.readUEdge("observed", uEdge); 443 /// 443 ///\endcode 444 444 /// 445 445 /// With the \c readAttribute() functions you can read an attribute … … 450 450 /// function, which execute all the commands. 451 451 /// 452 /// 452 ///\code 453 453 /// reader.run(); 454 /// 454 ///\endcode 455 455 /// 456 456 /// \see GraphReader
Note: See TracChangeset
for help on using the changeset viewer.