src/lemon/bfs.h
changeset 1237 2414b5ab7684
parent 1218 5331168bbb18
child 1270 806451fd084b
equal deleted inserted replaced
5:b9ed5ffd8c78 6:8874c6d87d89
   964 
   964 
   965     template<class T>
   965     template<class T>
   966     struct DefPredMapBase : public Base {
   966     struct DefPredMapBase : public Base {
   967       typedef T PredMap;
   967       typedef T PredMap;
   968       static PredMap *createPredMap(const Graph &G) { return 0; };
   968       static PredMap *createPredMap(const Graph &G) { return 0; };
   969       DefPredMapBase(const Base &b) : Base(b) {}
   969       DefPredMapBase(const TR &b) : TR(b) {}
   970     };
   970     };
   971     
   971     
   972     ///\brief \ref named-templ-param "Named parameter"
   972     ///\brief \ref named-templ-param "Named parameter"
   973     ///function for setting PredMap
   973     ///function for setting PredMap
   974     ///
   974     ///
   985  
   985  
   986     template<class T>
   986     template<class T>
   987     struct DefReachedMapBase : public Base {
   987     struct DefReachedMapBase : public Base {
   988       typedef T ReachedMap;
   988       typedef T ReachedMap;
   989       static ReachedMap *createReachedMap(const Graph &G) { return 0; };
   989       static ReachedMap *createReachedMap(const Graph &G) { return 0; };
   990       DefReachedMapBase(const Base &b) : Base(b) {}
   990       DefReachedMapBase(const TR &b) : TR(b) {}
   991     };
   991     };
   992     
   992     
   993     ///\brief \ref named-templ-param "Named parameter"
   993     ///\brief \ref named-templ-param "Named parameter"
   994     ///function for setting ReachedMap
   994     ///function for setting ReachedMap
   995     ///
   995     ///
  1006 
  1006 
  1007     template<class T>
  1007     template<class T>
  1008     struct DefProcessedMapBase : public Base {
  1008     struct DefProcessedMapBase : public Base {
  1009       typedef T ProcessedMap;
  1009       typedef T ProcessedMap;
  1010       static ProcessedMap *createProcessedMap(const Graph &G) { return 0; };
  1010       static ProcessedMap *createProcessedMap(const Graph &G) { return 0; };
  1011       DefProcessedMapBase(const Base &b) : Base(b) {}
  1011       DefProcessedMapBase(const TR &b) : TR(b) {}
  1012     };
  1012     };
  1013     
  1013     
  1014     ///\brief \ref named-templ-param "Named parameter"
  1014     ///\brief \ref named-templ-param "Named parameter"
  1015     ///function for setting ProcessedMap
  1015     ///function for setting ProcessedMap
  1016     ///
  1016     ///
  1027 
  1027 
  1028 //     template<class T>
  1028 //     template<class T>
  1029 //     struct DefPredNodeMapBase : public Base {
  1029 //     struct DefPredNodeMapBase : public Base {
  1030 //       typedef T PredNodeMap;
  1030 //       typedef T PredNodeMap;
  1031 //       static PredNodeMap *createPredNodeMap(const Graph &G) { return 0; };
  1031 //       static PredNodeMap *createPredNodeMap(const Graph &G) { return 0; };
  1032 //       DefPredNodeMapBase(const Base &b) : Base(b) {}
  1032 //       DefPredNodeMapBase(const TR &b) : TR(b) {}
  1033 //     };
  1033 //     };
  1034     
  1034     
  1035 //     ///\brief \ref named-templ-param "Named parameter"
  1035 //     ///\brief \ref named-templ-param "Named parameter"
  1036 //     ///function for setting PredNodeMap type
  1036 //     ///function for setting PredNodeMap type
  1037 //     ///
  1037 //     ///
  1047    
  1047    
  1048     template<class T>
  1048     template<class T>
  1049     struct DefDistMapBase : public Base {
  1049     struct DefDistMapBase : public Base {
  1050       typedef T DistMap;
  1050       typedef T DistMap;
  1051       static DistMap *createDistMap(const Graph &G) { return 0; };
  1051       static DistMap *createDistMap(const Graph &G) { return 0; };
  1052       DefDistMapBase(const Base &b) : Base(b) {}
  1052       DefDistMapBase(const TR &b) : TR(b) {}
  1053     };
  1053     };
  1054     
  1054     
  1055     ///\brief \ref named-templ-param "Named parameter"
  1055     ///\brief \ref named-templ-param "Named parameter"
  1056     ///function for setting DistMap type
  1056     ///function for setting DistMap type
  1057     ///
  1057     ///