lemon/johnson.h
changeset 2251 37fa5f83251e
parent 2151 38ec4a930c05
child 2260 4274224f8a7d
equal deleted inserted replaced
19:71a1aca990ff 20:2c95cf63fb7f
   377 	throw UninitializedParameter();
   377 	throw UninitializedParameter();
   378       }
   378       }
   379     };
   379     };
   380     ///\brief \ref named-templ-param "Named parameter" for setting heap and 
   380     ///\brief \ref named-templ-param "Named parameter" for setting heap and 
   381     ///cross reference type
   381     ///cross reference type
   382 
   382     ///
   383     ///\ref named-templ-param "Named parameter" for setting heap and cross 
   383     ///\ref named-templ-param "Named parameter" for setting heap and cross 
   384     ///reference type
   384     ///reference type
   385     ///
   385     ///
   386     template <class H, class CR = typename Graph::template NodeMap<int> >
   386     template <class H, class CR = typename Graph::template NodeMap<int> >
   387     struct DefHeap
   387     struct DefHeap
   399       static Heap *createHeap(HeapCrossRef &R) 
   399       static Heap *createHeap(HeapCrossRef &R) 
   400       {
   400       {
   401 	return new Heap(R);
   401 	return new Heap(R);
   402       }
   402       }
   403     };
   403     };
   404     ///\ref named-templ-param "Named parameter" for setting heap and cross 
   404     ///\brief \ref named-templ-param "Named parameter" for setting
   405     ///reference type with automatic allocation
   405     ///heap and cross reference type with automatic allocation
   406 
   406     ///
   407     ///\ref named-templ-param "Named parameter" for setting heap and cross 
   407     ///\ref named-templ-param "Named parameter" for setting heap and cross 
   408     ///reference type. It can allocate the heap and the cross reference 
   408     ///reference type. It can allocate the heap and the cross reference 
   409     ///object if the cross reference's constructor waits for the graph as 
   409     ///object if the cross reference's constructor waits for the graph as 
   410     ///parameter and the heap's constructor waits for the cross reference.
   410     ///parameter and the heap's constructor waits for the cross reference.
   411     template <class H, class CR = typename Graph::template NodeMap<int> >
   411     template <class H, class CR = typename Graph::template NodeMap<int> >