equal
deleted
inserted
replaced
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> > |