lemon/dijkstra.h
changeset 2099 eb126f29038c
parent 1993 2115143eceea
child 2111 ea1fa1bc3f6d
equal deleted inserted replaced
18:98aa626ce91d 19:687cb5d56ded
   281     ///@{
   281     ///@{
   282 
   282 
   283     template <class T>
   283     template <class T>
   284     struct DefPredMapTraits : public Traits {
   284     struct DefPredMapTraits : public Traits {
   285       typedef T PredMap;
   285       typedef T PredMap;
   286       static PredMap *createPredMap(const Graph &G) 
   286       static PredMap *createPredMap(const Graph &)
   287       {
   287       {
   288 	throw UninitializedParameter();
   288 	throw UninitializedParameter();
   289       }
   289       }
   290     };
   290     };
   291     ///\ref named-templ-param "Named parameter" for setting PredMap type
   291     ///\ref named-templ-param "Named parameter" for setting PredMap type
   299     };
   299     };
   300     
   300     
   301     template <class T>
   301     template <class T>
   302     struct DefDistMapTraits : public Traits {
   302     struct DefDistMapTraits : public Traits {
   303       typedef T DistMap;
   303       typedef T DistMap;
   304       static DistMap *createDistMap(const Graph &G) 
   304       static DistMap *createDistMap(const Graph &)
   305       {
   305       {
   306 	throw UninitializedParameter();
   306 	throw UninitializedParameter();
   307       }
   307       }
   308     };
   308     };
   309     ///\ref named-templ-param "Named parameter" for setting DistMap type
   309     ///\ref named-templ-param "Named parameter" for setting DistMap type