COIN-OR::LEMON - Graph Library

Changeset 781:6f10c6ec5a21 in lemon-1.2 for test/bellman_ford_test.cc


Ignore:
Timestamp:
09/28/09 15:53:20 (10 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Phase:
public
Message:

Small fixes related to BellmanFord? (#51)

  • Add a missing #include.
  • Add a missing const keyword for negativeCycle().
  • Test if negativeCycle() is const function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/bellman_ford_test.cc

    r699 r781  
    9797    p  = const_bf_test.predMap();
    9898    pp = const_bf_test.path(t);
     99    pp = const_bf_test.negativeCycle();
    99100   
    100101    for (BF::ActiveIt it(const_bf_test); it != INVALID; ++it) {}
     
    133134    b  = bf_test.reached(t);
    134135    pp = bf_test.path(t);
     136    pp = bf_test.negativeCycle();
    135137  }
    136138}
Note: See TracChangeset for help on using the changeset viewer.