Changeset 1117:5767cc417f62 in lemon0.x
 Timestamp:
 02/02/05 14:11:54 (19 years ago)
 Branch:
 default
 Phase:
 public
 Convert:
 svn:c9d7d8f590d60310b91f818b3a526b0e/lemon/trunk@1516
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/work/alpar/dijkstra.h
r1116 r1117 570 570 struct DefPredMapBase : public Base { 571 571 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) {} 573 574 }; 574 575 … … 585 586 struct DefPredNodeMapBase : public Base { 586 587 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) {} 588 590 }; 589 591 … … 599 601 struct DefDistMapBase : public Base { 600 602 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) {} 602 605 }; 603 606 … … 609 612 return DijkstraWizard<DefDistMapBase<T> >(*this); 610 613 } 611 612 ///\e 613 DijkstraWizard<TR> &s etSource(Node s)614 615 ///\e 616 DijkstraWizard<TR> &source(Node s) 614 617 { 615 618 source=(void *)&s; … … 636 639 #endif 637 640 638
Note: See TracChangeset
for help on using the changeset viewer.