COIN-OR::LEMON - Graph Library

Changeset 917:a6eb9698c321 in lemon for test


Ignore:
Timestamp:
02/19/10 14:08:32 (14 years ago)
Author:
Peter Kovacs <kpeter@…>
Branch:
default
Children:
918:a5fc1e1e5039, 958: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

    r838 r917  
    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.