COIN-OR::LEMON - Graph Library

Changeset 201:9757e3d9bfeb in lemon for lemon


Ignore:
Timestamp:
07/10/08 15:02:35 (16 years ago)
Author:
Balazs Dezso <deba@…>
Branch:
default
Phase:
public
Message:

More docs for undirected LGF IO

Location:
lemon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lemon/lgf_reader.h

    r197 r201  
    12271227  /// The only difference is that this class can handle edges and
    12281228  /// edge maps as well as arcs and arc maps.
     1229  ///
     1230  /// The columns in the \c \@edges (or \c \@arcs) section are the
     1231  /// edge maps. However, if there are two maps with the same name
     1232  /// prefixed with \c '+' and \c '-', then these can be read into an
     1233  /// arc map.  Similarly, an attribute can be read into an arc, if
     1234  /// it's value is an edge label prefixed with \c '+' or \c '-'.
    12291235  template <typename _Graph>
    12301236  class GraphReader {
  • lemon/lgf_writer.h

    r197 r201  
    915915  /// The only difference is that this class can handle edges and
    916916  /// 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.
    917923  template <typename _Graph>
    918924  class GraphWriter {
Note: See TracChangeset for help on using the changeset viewer.