Ticket #93: 9757e3d9bfeb.patch

File 9757e3d9bfeb.patch, 2.7 KB (added by Balazs Dezso, 12 years ago)
• doc/lgf.dox

```# HG changeset patch
# User Balazs Dezso <deba@inf.elte.hu>
# Date 1215694955 -7200
# Node ID 9757e3d9bfebfbe7af6f4a9d8d7741e4ce8f1c4e
# Parent  e80e08222fdf7808460dffd57a003b595d0098da
More docs for undirected LGF IO

diff -r e80e08222fdf -r 9757e3d9bfeb doc/lgf.dox```
 a 2   3   18 \endcode The \c \@edges is just a synonym of \c \@arcs. The \c \@edges is just a synonym of \c \@arcs. The @arcs section can also store the edge set of an undirected graph. In such case there is a conventional method for store arc maps in the file, if two columns has the same caption with \c '+' and \c '-' prefix, then these columns can be regarded as the values of an arc map. The \c \@attributes section contains key-value pairs, each line consists of two tokens, an attribute name, and then an attribute value. consists of two tokens, an attribute name, and then an attribute value. The value of the attribute could be also a label value of a node or an edge, or even an edge label prefixed with \c '+' or \c '-', which regards to the forward or backward directed arc of the corresponding edge. \code @attributes
`diff -r e80e08222fdf -r 9757e3d9bfeb lemon/lgf_reader.h`
`diff -r e80e08222fdf -r 9757e3d9bfeb lemon/lgf_writer.h`