Changeset 1161:7d32a2d6ed59 in lemon-main
- Timestamp:
- 10/07/17 00:19:19 (7 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- lemon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/lgf_reader.h
r1150 r1161 452 452 /// 453 453 ///\code 454 /// DigraphReader<DGR>(digraph, std::cin) .455 /// nodeMap("coordinates", coord_map).456 /// arcMap("capacity", cap_map).457 /// node("source", src).458 /// node("target", trg).459 /// attribute("caption", caption).460 /// run();454 /// DigraphReader<DGR>(digraph, std::cin) 455 /// .nodeMap("coordinates", coord_map) 456 /// .arcMap("capacity", cap_map) 457 /// .node("source", src) 458 /// .node("target", trg) 459 /// .attribute("caption", caption) 460 /// .run(); 461 461 ///\endcode 462 462 /// … … 1247 1247 ///ListDigraph::ArcMap<int> cap(digraph); 1248 1248 ///ListDigraph::Node src, trg; 1249 ///digraphReader(digraph, std::cin) .1250 /// arcMap("capacity", cap).1251 /// node("source", src).1252 /// node("target", trg).1253 /// run();1249 ///digraphReader(digraph, std::cin) 1250 /// .arcMap("capacity", cap) 1251 /// .node("source", src) 1252 /// .node("target", trg) 1253 /// .run(); 1254 1254 ///\endcode 1255 1255 /// … … 2124 2124 ///ListGraph graph; 2125 2125 ///ListGraph::EdgeMap<int> weight(graph); 2126 ///graphReader(graph, std::cin) .2127 /// edgeMap("weight", weight).2128 /// run();2126 ///graphReader(graph, std::cin) 2127 /// .edgeMap("weight", weight) 2128 /// .run(); 2129 2129 ///\endcode 2130 2130 /// … … 3192 3192 ///ListBpGraph graph; 3193 3193 ///ListBpGraph::EdgeMap<int> weight(graph); 3194 ///bpGraphReader(graph, std::cin) .3195 /// edgeMap("weight", weight).3196 /// run();3194 ///bpGraphReader(graph, std::cin) 3195 /// .edgeMap("weight", weight) 3196 /// .run(); 3197 3197 ///\endcode 3198 3198 /// -
lemon/lgf_writer.h
r1092 r1161 409 409 /// 410 410 ///\code 411 /// DigraphWriter<DGR>(digraph, std::cout) .412 /// nodeMap("coordinates", coord_map).413 /// nodeMap("size", size).414 /// nodeMap("title", title).415 /// arcMap("capacity", cap_map).416 /// node("source", src).417 /// node("target", trg).418 /// attribute("caption", caption).419 /// run();411 /// DigraphWriter<DGR>(digraph, std::cout) 412 /// .nodeMap("coordinates", coord_map) 413 /// .nodeMap("size", size) 414 /// .nodeMap("title", title) 415 /// .arcMap("capacity", cap_map) 416 /// .node("source", src) 417 /// .node("target", trg) 418 /// .attribute("caption", caption) 419 /// .run(); 420 420 ///\endcode 421 421 /// … … 962 962 ///ListDigraph::Node src, trg; 963 963 /// // Setting the capacity map and source and target nodes 964 ///digraphWriter(digraph, std::cout) .965 /// arcMap("capacity", cap).966 /// node("source", src).967 /// node("target", trg).968 /// run();964 ///digraphWriter(digraph, std::cout) 965 /// .arcMap("capacity", cap) 966 /// .node("source", src) 967 /// .node("target", trg) 968 /// .run(); 969 969 ///\endcode 970 970 /// … … 1600 1600 ///ListGraph::EdgeMap<int> weight(graph); 1601 1601 /// // Setting the weight map 1602 ///graphWriter(graph, std::cout) .1603 /// edgeMap("weight", weight).1604 /// run();1602 ///graphWriter(graph, std::cout) 1603 /// .edgeMap("weight", weight) 1604 /// .run(); 1605 1605 ///\endcode 1606 1606 /// … … 2420 2420 ///ListBpGraph::EdgeMap<int> weight(graph); 2421 2421 /// // Setting the weight map 2422 ///bpGraphWriter(graph, std::cout) .2423 /// edgeMap("weight", weight).2424 /// run();2422 ///bpGraphWriter(graph, std::cout) 2423 /// .edgeMap("weight", weight) 2424 /// .run(); 2425 2425 ///\endcode 2426 2426 ///
Note: See TracChangeset
for help on using the changeset viewer.