COIN-OR::LEMON - Graph Library

Changeset 401:26fd85a3087e in lemon-main


Ignore:
Timestamp:
12/01/08 15:07:58 (16 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Def->Set change in lemon/circulation.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/circulation.h

    r399 r401  
    170170
    171171    template <typename _FlowMap>
    172     struct DefFlowMapTraits : public Traits {
     172    struct SetFlowMapTraits : public Traits {
    173173      typedef _FlowMap FlowMap;
    174174      static FlowMap *createFlowMap(const Digraph&) {
     
    184184    /// type
    185185    template <typename _FlowMap>
    186     struct DefFlowMap
     186    struct SetFlowMap
    187187      : public Circulation<Digraph, LCapMap, UCapMap, DeltaMap,
    188                            DefFlowMapTraits<_FlowMap> > {
     188                           SetFlowMapTraits<_FlowMap> > {
    189189      typedef Circulation<Digraph, LCapMap, UCapMap, DeltaMap,
    190                           DefFlowMapTraits<_FlowMap> > Create;
     190                          SetFlowMapTraits<_FlowMap> > Create;
    191191    };
    192192
    193193    template <typename _Elevator>
    194     struct DefElevatorTraits : public Traits {
     194    struct SetElevatorTraits : public Traits {
    195195      typedef _Elevator Elevator;
    196196      static Elevator *createElevator(const Digraph&, int) {
     
    206206    /// type
    207207    template <typename _Elevator>
    208     struct DefElevator
     208    struct SetElevator
    209209      : public Circulation<Digraph, LCapMap, UCapMap, DeltaMap,
    210                            DefElevatorTraits<_Elevator> > {
     210                           SetElevatorTraits<_Elevator> > {
    211211      typedef Circulation<Digraph, LCapMap, UCapMap, DeltaMap,
    212                           DefElevatorTraits<_Elevator> > Create;
     212                          SetElevatorTraits<_Elevator> > Create;
    213213    };
    214214
    215215    template <typename _Elevator>
    216     struct DefStandardElevatorTraits : public Traits {
     216    struct SetStandardElevatorTraits : public Traits {
    217217      typedef _Elevator Elevator;
    218218      static Elevator *createElevator(const Digraph& digraph, int max_level) {
     
    228228    /// the digraph and the maximum level should be passed to it.
    229229    template <typename _Elevator>
    230     struct DefStandardElevator
     230    struct SetStandardElevator
    231231      : public Circulation<Digraph, LCapMap, UCapMap, DeltaMap,
    232                        DefStandardElevatorTraits<_Elevator> > {
     232                       SetStandardElevatorTraits<_Elevator> > {
    233233      typedef Circulation<Digraph, LCapMap, UCapMap, DeltaMap,
    234                       DefStandardElevatorTraits<_Elevator> > Create;
     234                      SetStandardElevatorTraits<_Elevator> > Create;
    235235    };
    236236
Note: See TracChangeset for help on using the changeset viewer.