41 short Degree, Mark, NegInfinityFlag;
46 return RHS.NegInfinityFlag ? 0 : -1;
47 return RHS.NegInfinityFlag ? 1 : 0;
50 NegInfinityFlag = RHS.NegInfinityFlag;
55 Left = Right = Parent = Child = NULL;
56 Degree = Mark = NegInfinityFlag = 0;
73 long NumNodes, NumTrees, NumMarkedNodes;
74 int HeapOwnershipFlag;
87 bool IsEmpty() {
return (MinRoot == NULL);}
112 #endif //__VTK_WRAP__
virtual int operator<(FibHeapNode &RHS)
void ClearHeapOwnership()
int Delete(FibHeapNode *theNode)
virtual int operator==(FibHeapNode &RHS)
virtual void operator=(FibHeapNode &RHS)
void FHN_Assign(FibHeapNode &RHS)
int DecreaseKey(FibHeapNode *theNode, FibHeapNode &NewKey)
void Union(FibHeap *OtherHeap)
FibHeapNode * ExtractMin()
void Insert(FibHeapNode *NewNode)
void Print(FibHeapNode *Tree=NULL, FibHeapNode *theParent=NULL)
int FHN_Cmp(FibHeapNode &RHS)