COIN-OR::LEMON - Graph Library

Changeset 1117:5767cc417f62 in lemon-0.x


Ignore:
Timestamp:
02/02/05 14:11:54 (15 years ago)
Author:
Alpar Juttner
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@1516
Message:

Bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/work/alpar/dijkstra.h

    r1116 r1117  
    570570    struct DefPredMapBase : public Base {
    571571      typedef T PredMap;
    572       static PredMap *createPredMap(const Graph &G) {};
     572      static PredMap *createPredMap(const Graph &G) { return 0; };
     573      DefPredMapBase(const Base &b) : Base(b) {}
    573574    };
    574575   
     
    585586    struct DefPredNodeMapBase : public Base {
    586587      typedef T PredNodeMap;
    587       static PredNodeMap *createPredNodeMap(const Graph &G) {};
     588      static PredNodeMap *createPredNodeMap(const Graph &G) { return 0; };
     589      DefPredNodeMapBase(const Base &b) : Base(b) {}
    588590    };
    589591   
     
    599601    struct DefDistMapBase : public Base {
    600602      typedef T DistMap;
    601       static DistMap *createDistMap(const Graph &G) {};
     603      static DistMap *createDistMap(const Graph &G) { return 0; };
     604      DefDistMapBase(const Base &b) : Base(b) {}
    602605    };
    603606   
     
    609612      return DijkstraWizard<DefDistMapBase<T> >(*this);
    610613    }
    611 
    612     ///\e
    613     DijkstraWizard<TR> &setSource(Node s)
     614   
     615    ///\e
     616    DijkstraWizard<TR> &source(Node s)
    614617    {
    615618      source=(void *)&s;
     
    636639#endif
    637640
    638 
Note: See TracChangeset for help on using the changeset viewer.