lemon/lgf_writer.h
 changeset 201 9757e3d9bfeb parent 197 5893bacaa720 child 209 765619b7cbb2
equal inserted replaced
10:e6f745a489b6 11:bda14aa11159
   912   /// This utility writes an \ref lgf-format "LGF" file.
   912   /// This utility writes an \ref lgf-format "LGF" file.
   913   ///
   913   ///
   914   /// It can be used almost the same way as \c DigraphWriter.
   914   /// It can be used almost the same way as \c DigraphWriter.
   915   /// The only difference is that this class can handle edges and
   915   /// The only difference is that this class can handle edges and
   916   /// edge maps as well as arcs and arc maps.
   916   /// edge maps as well as arcs and arc maps.

   917   ///

   918   /// The arc maps are written into the file as two columns, the

   919   /// caption of the columns are the name of the map prefixed with \c

   920   /// '+' and \c '-'. The arcs are written into the \c \@attributes

   921   /// section as a \c '+' or a \c '-' prefix (depends on the direction

   922   /// of the arc) and the label of corresponding edge.
   917   template <typename _Graph>
   923   template <typename _Graph>
   918   class GraphWriter {
   924   class GraphWriter {
   919   public:
   925   public:
   920
   926
   921     typedef _Graph Graph;
   927     typedef _Graph Graph;