src/lemon/dfs.h
changeset 1241 dadc9987c537
parent 1233 f3d856bf1ebf
child 1283 fc20371677b9
equal deleted inserted replaced
6:d8011645d123 7:9fc7f448cd5c
   970 
   970 
   971     template<class T>
   971     template<class T>
   972     struct DefPredMapBase : public Base {
   972     struct DefPredMapBase : public Base {
   973       typedef T PredMap;
   973       typedef T PredMap;
   974       static PredMap *createPredMap(const Graph &G) { return 0; };
   974       static PredMap *createPredMap(const Graph &G) { return 0; };
   975       DefPredMapBase(const Base &b) : Base(b) {}
   975       DefPredMapBase(const TR &b) : TR(b) {}
   976     };
   976     };
   977     
   977     
   978     ///\brief \ref named-templ-param "Named parameter"
   978     ///\brief \ref named-templ-param "Named parameter"
   979     ///function for setting PredMap type
   979     ///function for setting PredMap type
   980     ///
   980     ///
   991  
   991  
   992     template<class T>
   992     template<class T>
   993     struct DefReachedMapBase : public Base {
   993     struct DefReachedMapBase : public Base {
   994       typedef T ReachedMap;
   994       typedef T ReachedMap;
   995       static ReachedMap *createReachedMap(const Graph &G) { return 0; };
   995       static ReachedMap *createReachedMap(const Graph &G) { return 0; };
   996       DefReachedMapBase(const Base &b) : Base(b) {}
   996       DefReachedMapBase(const TR &b) : TR(b) {}
   997     };
   997     };
   998     
   998     
   999     ///\brief \ref named-templ-param "Named parameter"
   999     ///\brief \ref named-templ-param "Named parameter"
  1000     ///function for setting ReachedMap
  1000     ///function for setting ReachedMap
  1001     ///
  1001     ///
  1012 
  1012 
  1013     template<class T>
  1013     template<class T>
  1014     struct DefProcessedMapBase : public Base {
  1014     struct DefProcessedMapBase : public Base {
  1015       typedef T ProcessedMap;
  1015       typedef T ProcessedMap;
  1016       static ProcessedMap *createProcessedMap(const Graph &G) { return 0; };
  1016       static ProcessedMap *createProcessedMap(const Graph &G) { return 0; };
  1017       DefProcessedMapBase(const Base &b) : Base(b) {}
  1017       DefProcessedMapBase(const TR &b) : TR(b) {}
  1018     };
  1018     };
  1019     
  1019     
  1020     ///\brief \ref named-templ-param "Named parameter"
  1020     ///\brief \ref named-templ-param "Named parameter"
  1021     ///function for setting ProcessedMap
  1021     ///function for setting ProcessedMap
  1022     ///
  1022     ///
  1033 
  1033 
  1034 //     template<class T>
  1034 //     template<class T>
  1035 //     struct DefPredNodeMapBase : public Base {
  1035 //     struct DefPredNodeMapBase : public Base {
  1036 //       typedef T PredNodeMap;
  1036 //       typedef T PredNodeMap;
  1037 //       static PredNodeMap *createPredNodeMap(const Graph &G) { return 0; };
  1037 //       static PredNodeMap *createPredNodeMap(const Graph &G) { return 0; };
  1038 //       DefPredNodeMapBase(const Base &b) : Base(b) {}
  1038 //       DefPredNodeMapBase(const TR &b) : TR(b) {}
  1039 //     };
  1039 //     };
  1040     
  1040     
  1041 //     ///\brief \ref named-templ-param "Named parameter"
  1041 //     ///\brief \ref named-templ-param "Named parameter"
  1042 //     ///function for setting PredNodeMap type
  1042 //     ///function for setting PredNodeMap type
  1043 //     ///
  1043 //     ///
  1053    
  1053    
  1054     template<class T>
  1054     template<class T>
  1055     struct DefDistMapBase : public Base {
  1055     struct DefDistMapBase : public Base {
  1056       typedef T DistMap;
  1056       typedef T DistMap;
  1057       static DistMap *createDistMap(const Graph &G) { return 0; };
  1057       static DistMap *createDistMap(const Graph &G) { return 0; };
  1058       DefDistMapBase(const Base &b) : Base(b) {}
  1058       DefDistMapBase(const TR &b) : TR(b) {}
  1059     };
  1059     };
  1060     
  1060     
  1061     ///\brief \ref named-templ-param "Named parameter"
  1061     ///\brief \ref named-templ-param "Named parameter"
  1062     ///function for setting DistMap type
  1062     ///function for setting DistMap type
  1063     ///
  1063     ///