COIN-OR::LEMON - Graph Library

Changeset 1909:2d806130e700 in lemon-0.x for test/max_matching_test.cc


Ignore:
Timestamp:
01/26/06 16:42:13 (14 years ago)
Author:
Mihaly Barasz
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@2484
Message:

Undir -> U transition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/max_matching_test.cc

    r1875 r1909  
    3232int main() {
    3333
    34   typedef UndirListGraph Graph;
     34  typedef ListUGraph Graph;
    3535
    3636  typedef Graph::Edge Edge;
    37   typedef Graph::UndirEdgeIt UndirEdgeIt;
     37  typedef Graph::UEdgeIt UEdgeIt;
    3838  typedef Graph::IncEdgeIt IncEdgeIt;
    3939  typedef Graph::NodeIt NodeIt;
     
    139139
    140140  bool noedge=true;
    141   for(UndirEdgeIt e(g); e!=INVALID; ++e) {
     141  for(UEdgeIt e(g); e!=INVALID; ++e) {
    142142   if ( (pos[g.target(e)]==max_matching.C && pos[g.source(e)]==max_matching.D) ||
    143143         (pos[g.target(e)]==max_matching.D && pos[g.source(e)]==max_matching.C) )
Note: See TracChangeset for help on using the changeset viewer.