src/lemon/dijkstra.h
changeset 1265 47c60ae9c26a
parent 1229 aa65e46aebc3
child 1283 fc20371677b9
equal deleted inserted replaced
14:0a80b77d99ef 15:1e220441ab02
   948 
   948 
   949     template<class T>
   949     template<class T>
   950     struct DefPredMapBase : public Base {
   950     struct DefPredMapBase : public Base {
   951       typedef T PredMap;
   951       typedef T PredMap;
   952       static PredMap *createPredMap(const Graph &G) { return 0; };
   952       static PredMap *createPredMap(const Graph &G) { return 0; };
   953       DefPredMapBase(const Base &b) : Base(b) {}
   953       DefPredMapBase(const TR &b) : TR(b) {}
   954     };
   954     };
   955     
   955     
   956     ///\brief \ref named-templ-param "Named parameter"
   956     ///\brief \ref named-templ-param "Named parameter"
   957     ///function for setting PredMap type
   957     ///function for setting PredMap type
   958     ///
   958     ///
   969 
   969 
   970 //     template<class T>
   970 //     template<class T>
   971 //     struct DefPredNodeMapBase : public Base {
   971 //     struct DefPredNodeMapBase : public Base {
   972 //       typedef T PredNodeMap;
   972 //       typedef T PredNodeMap;
   973 //       static PredNodeMap *createPredNodeMap(const Graph &G) { return 0; };
   973 //       static PredNodeMap *createPredNodeMap(const Graph &G) { return 0; };
   974 //       DefPredNodeMapBase(const Base &b) : Base(b) {}
   974 //       DefPredNodeMapBase(const TR &b) : TR(b) {}
   975 //     };
   975 //     };
   976     
   976     
   977 //     ///\brief \ref named-templ-param "Named parameter"
   977 //     ///\brief \ref named-templ-param "Named parameter"
   978 //     ///function for setting PredNodeMap type
   978 //     ///function for setting PredNodeMap type
   979 //     ///
   979 //     ///
   989    
   989    
   990     template<class T>
   990     template<class T>
   991     struct DefDistMapBase : public Base {
   991     struct DefDistMapBase : public Base {
   992       typedef T DistMap;
   992       typedef T DistMap;
   993       static DistMap *createDistMap(const Graph &G) { return 0; };
   993       static DistMap *createDistMap(const Graph &G) { return 0; };
   994       DefDistMapBase(const Base &b) : Base(b) {}
   994       DefDistMapBase(const TR &b) : TR(b) {}
   995     };
   995     };
   996     
   996     
   997     ///\brief \ref named-templ-param "Named parameter"
   997     ///\brief \ref named-templ-param "Named parameter"
   998     ///function for setting DistMap type
   998     ///function for setting DistMap type
   999     ///
   999     ///