lemon/lgf_writer.h
changeset 1074 97d978243703
parent 1030 4936be66d2f5
child 1092 dceba191c00d
equal deleted inserted replaced
36:506217e6515b 37:6d803bbb038a
   942     /// @}
   942     /// @}
   943   };
   943   };
   944 
   944 
   945   /// \ingroup lemon_io
   945   /// \ingroup lemon_io
   946   ///
   946   ///
   947   /// \brief Return a \ref DigraphWriter class
   947   /// \brief Return a \ref lemon::DigraphWriter "DigraphWriter" class
   948   ///
   948   ///
   949   /// This function just returns a \ref DigraphWriter class.
   949   /// This function just returns a \ref lemon::DigraphWriter
       
   950   /// "DigraphWriter" class.
   950   ///
   951   ///
   951   /// With this function a digraph can be write to a file or output
   952   /// With this function a digraph can be write to a file or output
   952   /// stream in \ref lgf-format "LGF" format with several maps and
   953   /// stream in \ref lgf-format "LGF" format with several maps and
   953   /// attributes. For example, with the following code a network flow
   954   /// attributes. For example, with the following code a network flow
   954   /// problem can be written to the standard output, i.e. a digraph
   955   /// problem can be written to the standard output, i.e. a digraph
   965   ///  node("source", src).
   966   ///  node("source", src).
   966   ///  node("target", trg).
   967   ///  node("target", trg).
   967   ///  run();
   968   ///  run();
   968   ///\endcode
   969   ///\endcode
   969   ///
   970   ///
   970   /// For a complete documentation, please see the \ref DigraphWriter
   971   /// For a complete documentation, please see the
       
   972   /// \ref lemon::DigraphWriter "DigraphWriter"
   971   /// class documentation.
   973   /// class documentation.
   972   /// \warning Don't forget to put the \ref DigraphWriter::run() "run()"
   974   /// \warning Don't forget to put the \ref lemon::DigraphWriter::run() "run()"
   973   /// to the end of the parameter list.
   975   /// to the end of the parameter list.
   974   /// \relates DigraphWriter
   976   /// \relates DigraphWriter
   975   /// \sa digraphWriter(const TDGR& digraph, const std::string& fn)
   977   /// \sa digraphWriter(const TDGR& digraph, const std::string& fn)
   976   /// \sa digraphWriter(const TDGR& digraph, const char* fn)
   978   /// \sa digraphWriter(const TDGR& digraph, const char* fn)
   977   template <typename TDGR>
   979   template <typename TDGR>
  1581     /// @}
  1583     /// @}
  1582   };
  1584   };
  1583 
  1585 
  1584   /// \ingroup lemon_io
  1586   /// \ingroup lemon_io
  1585   ///
  1587   ///
  1586   /// \brief Return a \ref GraphWriter class
  1588   /// \brief Return a \ref lemon::GraphWriter "GraphWriter" class
  1587   ///
  1589   ///
  1588   /// This function just returns a \ref GraphWriter class.
  1590   /// This function just returns a \ref lemon::GraphWriter "GraphWriter" class.
  1589   ///
  1591   ///
  1590   /// With this function a graph can be write to a file or output
  1592   /// With this function a graph can be write to a file or output
  1591   /// stream in \ref lgf-format "LGF" format with several maps and
  1593   /// stream in \ref lgf-format "LGF" format with several maps and
  1592   /// attributes. For example, with the following code a weighted
  1594   /// attributes. For example, with the following code a weighted
  1593   /// matching problem can be written to the standard output, i.e. a
  1595   /// matching problem can be written to the standard output, i.e. a
  1600   ///graphWriter(graph, std::cout).
  1602   ///graphWriter(graph, std::cout).
  1601   ///  edgeMap("weight", weight).
  1603   ///  edgeMap("weight", weight).
  1602   ///  run();
  1604   ///  run();
  1603   ///\endcode
  1605   ///\endcode
  1604   ///
  1606   ///
  1605   /// For a complete documentation, please see the \ref GraphWriter
  1607   /// For a complete documentation, please see the
       
  1608   /// \ref lemon::GraphWriter "GraphWriter"
  1606   /// class documentation.
  1609   /// class documentation.
  1607   /// \warning Don't forget to put the \ref GraphWriter::run() "run()"
  1610   /// \warning Don't forget to put the \ref lemon::GraphWriter::run() "run()"
  1608   /// to the end of the parameter list.
  1611   /// to the end of the parameter list.
  1609   /// \relates GraphWriter
  1612   /// \relates GraphWriter
  1610   /// \sa graphWriter(const TGR& graph, const std::string& fn)
  1613   /// \sa graphWriter(const TGR& graph, const std::string& fn)
  1611   /// \sa graphWriter(const TGR& graph, const char* fn)
  1614   /// \sa graphWriter(const TGR& graph, const char* fn)
  1612   template <typename TGR>
  1615   template <typename TGR>
  2399     /// @}
  2402     /// @}
  2400   };
  2403   };
  2401 
  2404 
  2402   /// \ingroup lemon_io
  2405   /// \ingroup lemon_io
  2403   ///
  2406   ///
  2404   /// \brief Return a \ref BpGraphWriter class
  2407   /// \brief Return a \ref lemon::BpGraphWriter "BpGraphWriter" class
  2405   ///
  2408   ///
  2406   /// This function just returns a \ref BpGraphWriter class.
  2409   /// This function just returns a \ref lemon::BpGraphWriter
       
  2410   /// "BpGraphWriter" class.
  2407   ///
  2411   ///
  2408   /// With this function a bipartite graph can be write to a file or output
  2412   /// With this function a bipartite graph can be write to a file or output
  2409   /// stream in \ref lgf-format "LGF" format with several maps and
  2413   /// stream in \ref lgf-format "LGF" format with several maps and
  2410   /// attributes. For example, with the following code a bipartite
  2414   /// attributes. For example, with the following code a bipartite
  2411   /// weighted matching problem can be written to the standard output,
  2415   /// weighted matching problem can be written to the standard output,
  2418   ///bpGraphWriter(graph, std::cout).
  2422   ///bpGraphWriter(graph, std::cout).
  2419   ///  edgeMap("weight", weight).
  2423   ///  edgeMap("weight", weight).
  2420   ///  run();
  2424   ///  run();
  2421   ///\endcode
  2425   ///\endcode
  2422   ///
  2426   ///
  2423   /// For a complete documentation, please see the \ref BpGraphWriter
  2427   /// For a complete documentation, please see the
       
  2428   /// \ref lemon::BpGraphWriter "BpGraphWriter"
  2424   /// class documentation.
  2429   /// class documentation.
  2425   /// \warning Don't forget to put the \ref BpGraphWriter::run() "run()"
  2430   /// \warning Don't forget to put the \ref lemon::BpGraphWriter::run() "run()"
  2426   /// to the end of the parameter list.
  2431   /// to the end of the parameter list.
  2427   /// \relates BpGraphWriter
  2432   /// \relates BpGraphWriter
  2428   /// \sa bpGraphWriter(const TBGR& graph, const std::string& fn)
  2433   /// \sa bpGraphWriter(const TBGR& graph, const std::string& fn)
  2429   /// \sa bpGraphWriter(const TBGR& graph, const char* fn)
  2434   /// \sa bpGraphWriter(const TBGR& graph, const char* fn)
  2430   template <typename TBGR>
  2435   template <typename TBGR>