lemon/lgf_reader.h
changeset 1161 7d32a2d6ed59
parent 1150 df2d4bf31fcb
     1.1 --- a/lemon/lgf_reader.h	Tue Sep 19 15:23:43 2017 +0200
     1.2 +++ b/lemon/lgf_reader.h	Sat Oct 07 00:19:19 2017 +0200
     1.3 @@ -451,13 +451,13 @@
     1.4    /// rules.
     1.5    ///
     1.6    ///\code
     1.7 -  /// DigraphReader<DGR>(digraph, std::cin).
     1.8 -  ///   nodeMap("coordinates", coord_map).
     1.9 -  ///   arcMap("capacity", cap_map).
    1.10 -  ///   node("source", src).
    1.11 -  ///   node("target", trg).
    1.12 -  ///   attribute("caption", caption).
    1.13 -  ///   run();
    1.14 +  /// DigraphReader<DGR>(digraph, std::cin)
    1.15 +  ///   .nodeMap("coordinates", coord_map)
    1.16 +  ///   .arcMap("capacity", cap_map)
    1.17 +  ///   .node("source", src)
    1.18 +  ///   .node("target", trg)
    1.19 +  ///   .attribute("caption", caption)
    1.20 +  ///   .run();
    1.21    ///\endcode
    1.22    ///
    1.23    /// By default, the reader uses the first section in the file of the
    1.24 @@ -1246,11 +1246,11 @@
    1.25    ///ListDigraph digraph;
    1.26    ///ListDigraph::ArcMap<int> cap(digraph);
    1.27    ///ListDigraph::Node src, trg;
    1.28 -  ///digraphReader(digraph, std::cin).
    1.29 -  ///  arcMap("capacity", cap).
    1.30 -  ///  node("source", src).
    1.31 -  ///  node("target", trg).
    1.32 -  ///  run();
    1.33 +  ///digraphReader(digraph, std::cin)
    1.34 +  ///  .arcMap("capacity", cap)
    1.35 +  ///  .node("source", src)
    1.36 +  ///  .node("target", trg)
    1.37 +  ///  .run();
    1.38    ///\endcode
    1.39    ///
    1.40    /// For a complete documentation, please see the
    1.41 @@ -2123,9 +2123,9 @@
    1.42    ///\code
    1.43    ///ListGraph graph;
    1.44    ///ListGraph::EdgeMap<int> weight(graph);
    1.45 -  ///graphReader(graph, std::cin).
    1.46 -  ///  edgeMap("weight", weight).
    1.47 -  ///  run();
    1.48 +  ///graphReader(graph, std::cin)
    1.49 +  ///  .edgeMap("weight", weight)
    1.50 +  ///  .run();
    1.51    ///\endcode
    1.52    ///
    1.53    /// For a complete documentation, please see the
    1.54 @@ -3191,9 +3191,9 @@
    1.55    ///\code
    1.56    ///ListBpGraph graph;
    1.57    ///ListBpGraph::EdgeMap<int> weight(graph);
    1.58 -  ///bpGraphReader(graph, std::cin).
    1.59 -  ///  edgeMap("weight", weight).
    1.60 -  ///  run();
    1.61 +  ///bpGraphReader(graph, std::cin)
    1.62 +  ///  .edgeMap("weight", weight)
    1.63 +  ///  .run();
    1.64    ///\endcode
    1.65    ///
    1.66    /// For a complete documentation, please see the