COIN-OR::LEMON - Graph Library

Changeset 844:a6eb9698c321 in lemon-main for test


Ignore:
Timestamp:
02/19/10 14:08:32 (15 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Children:
845:a5fc1e1e5039, 878:d6052a9c4e8d
Phase:
public
Message:

Support tolerance technique for BellmanFord? (#51)

A new operation traits class BellmanFordToleranceOperationTraits?
is introduced, which uses the tolerance technique in its less()
function. This class can be used with the SetOperationTraits?
named template parameter.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/bellman_ford_test.cc

    r791 r844  
    105105      ::SetDistMap<concepts::ReadWriteMap<Node,Value> >
    106106      ::SetOperationTraits<BellmanFordDefaultOperationTraits<Value> >
     107      ::SetOperationTraits<BellmanFordToleranceOperationTraits<Value, 0> >
    107108      ::Create bf_test(gr,length);
    108109
Note: See TracChangeset for help on using the changeset viewer.