COIN-OR::LEMON - Graph Library

Changeset 1627:3fd1ba6e9872 in lemon-0.x for lemon/graph_utils.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/graph_utils.h

    r1591 r1627  
    996996    /// \return The "forward" directed edge view of undirected edge
    997997    Value operator[](const Key& key) const {
    998       return graph.edgeWithSource(key, graph.source(key));
     998      return graph.direct(key, true);
    999999    }
    10001000
     
    10361036    /// \return The "backward" directed edge view of undirected edge
    10371037    Value operator[](const Key& key) const {
    1038       return graph.edgeWithSource(key, graph.target(key));
     1038      return graph.direct(key, false);
    10391039    }
    10401040
Note: See TracChangeset for help on using the changeset viewer.