Min-Heap and Hash Table help

Justin Whear justin at economicmodeling.com
Mon Apr 2 16:30:38 PDT 2012


On Tue, 03 Apr 2012 01:06:54 +0200, Chris Pons wrote:

> Yes, I did see that. How would I set the predicate to sort by fScore? An
> integer in my struct.
> 

auto myHeap = BinaryHeap!`a.fScore > b.fScore`( rangeOfNodes );


More information about the Digitalmars-d-learn mailing list