lemon/prim.h
changeset 2251 37fa5f83251e
parent 2151 38ec4a930c05
child 2260 4274224f8a7d
equal deleted inserted replaced
7:59575feb3dce 8:ac71795ec8de
   328       }
   328       }
   329       static Heap *createHeap(HeapCrossRef &){
   329       static Heap *createHeap(HeapCrossRef &){
   330 	return UninitializedParameter();
   330 	return UninitializedParameter();
   331       }
   331       }
   332     };
   332     };
   333     ///\ref named-templ-param "Named parameter" for setting heap and cross 
   333     ///\brief \ref named-templ-param "Named parameter" for setting
   334     ///reference type
   334     ///heap and cross reference type
   335 
   335     ///
   336     ///\ref named-templ-param "Named parameter" for setting heap and cross 
   336     ///\ref named-templ-param "Named parameter" for setting heap and cross 
   337     ///reference type
   337     ///reference type
   338     ///
   338     ///
   339     template <class H, class CR = typename UGraph::template NodeMap<int> >
   339     template <class H, class CR = typename UGraph::template NodeMap<int> >
   340     struct DefHeap
   340     struct DefHeap
   351       }
   351       }
   352       static Heap *createHeap(HeapCrossRef &ref){
   352       static Heap *createHeap(HeapCrossRef &ref){
   353 	return new Heap(ref);
   353 	return new Heap(ref);
   354       }
   354       }
   355     };
   355     };
   356     ///\ref named-templ-param "Named parameter" for setting heap and cross 
   356     ///\brief \ref named-templ-param "Named parameter" for setting
   357     ///reference type with automatic allocation
   357     ///heap and cross reference type with automatic allocation
   358 
   358     ///
   359     ///\ref named-templ-param "Named parameter" for setting heap and cross 
   359     ///\ref named-templ-param "Named parameter" for setting heap and cross 
   360     ///reference type. It can allocate the heap and the cross reference 
   360     ///reference type. It can allocate the heap and the cross reference 
   361     ///object if the cross reference's constructor waits for the graph as 
   361     ///object if the cross reference's constructor waits for the graph as 
   362     ///parameter and the heap's constructor waits for the cross reference.
   362     ///parameter and the heap's constructor waits for the cross reference.
   363     template <class H, class CR = typename UGraph::template NodeMap<int> >
   363     template <class H, class CR = typename UGraph::template NodeMap<int> >