37 #ifndef __vtkPriorityQueue_h
38 #define __vtkPriorityQueue_h
68 void Insert(
double priority,
vtkIdType id);
135 this->
Pop(loc,priority);
154 if ( this->
MaxId < 0 )
161 return this->
Array[location].
id;
167 if ( this->
MaxId < 0 )
173 return this->
Array[location].
id;
abstract base class for most VTK objects
vtkIdTypeArray * ItemLocation
vtkIdType GetValue(vtkIdType id)
vtkIdType Peek(vtkIdType location, double &priority)
dynamic, self-adjusting array of vtkIdType
an list of ids arranged in priority order
virtual void PrintSelf(ostream &os, vtkIndent indent)
double GetPriority(vtkIdType id)
vtkIdType Pop(vtkIdType location, double &priority)
a simple class to control print indentation
vtkIdType GetNumberOfItems()
double DeleteId(vtkIdType id)