Should be called when the Object at top changes values. Still log(n) worst
case, but it's at least twice as fast to
Namespace: Lucene.Net.Util
pq.top().change();
pq.updateTop();
instead of
o = pq.pop();
o.change();
pq.push(o);
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
| C# |
|---|
public Object UpdateTop() |
| Visual Basic |
|---|
Public Function UpdateTop As Object |
| Visual C++ |
|---|
public: Object^ UpdateTop() |