equal
deleted
inserted
replaced
482 ///Sets the heap and the cross reference used by algorithm. |
482 ///Sets the heap and the cross reference used by algorithm. |
483 |
483 |
484 ///Sets the heap and the cross reference used by algorithm. |
484 ///Sets the heap and the cross reference used by algorithm. |
485 ///If you don't use this function before calling \ref run(), |
485 ///If you don't use this function before calling \ref run(), |
486 ///it will allocate one. The destuctor deallocates this |
486 ///it will allocate one. The destuctor deallocates this |
487 ///automatically allocated map, of course. |
487 ///automatically allocated heap and cross reference, of course. |
488 ///\return <tt> (*this) </tt> |
488 ///\return <tt> (*this) </tt> |
489 Dijkstra &heap(Heap& heap, HeapCrossRef &crossRef) |
489 Dijkstra &heap(Heap& heap, HeapCrossRef &crossRef) |
490 { |
490 { |
491 if(local_heap_cross_ref) { |
491 if(local_heap_cross_ref) { |
492 delete _heap_cross_ref; |
492 delete _heap_cross_ref; |