
25 Jan
2012
25 Jan
'12
7:39 p.m.
I am trying to use d_ary_heap_indirect. I was able to create an object of the queue, but I can't push a vertex into it. Here is what I tried: http://programmingexamples.net/wiki/CPP/Boost/BGL/d_ary_heap_indirect I get a "no match for operator[]" error on the last line (the push()). Can anyone see what is wrong with that example? Thanks, David

25 Jan
25 Jan
7:49 p.m.
On Wed, 25 Jan 2012, David Doria wrote:
It looks (from the comments for d_ary_heap_indirect) that IndexInHeapMap needs to map from values (here, vertices) to indices, and so you probably need to use GridIndexMapType to create the IndexInHeapMap like you do for PriorityMapType. -- Jeremiah Willcock
4897
Age (days ago)
4897
Last active (days ago)
2 comments
2 participants
participants (2)
-
David Doria
-
Jeremiah Willcock