COIN-OR::LEMON - Graph Library

Changeset 1627:3fd1ba6e9872 in lemon-0.x for lemon/lemon_reader.h


Ignore:
Timestamp:
08/11/05 17:55:17 (14 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2135
Message:

Some modification on the undirected graph interface.
Doc improvments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/lemon_reader.h

    r1494 r1627  
    13231323      UndirEdge undirEdge = inverter->read(is);
    13241324      if (c == '+') {
    1325         edge = graph.edgeWithSource(undirEdge, graph.source(undirEdge));
     1325        edge = graph.direct(undirEdge, true);
    13261326      } else if (c == '-') {
    1327         edge = graph.edgeWithSource(undirEdge, graph.target(undirEdge));
     1327        edge = graph.direct(undirEdge, false);
    13281328      } else {
    13291329        throw DataFormatError("Wrong id format for edge "
Note: See TracChangeset for help on using the changeset viewer.