summaryrefslogtreecommitdiff
path: root/include/FHeap.h
diff options
context:
space:
mode:
authorPixel <>2001-03-03 22:53:41 +0000
committerPixel <>2001-03-03 22:53:41 +0000
commitdc2ce18ea8e1686e61dce2b924e3607df69a2dcf (patch)
treef035493abaca3227da9bbae2b628afbeb990759c /include/FHeap.h
parent833d20a69fe17ab846c153e35230c66a41d8fca9 (diff)
Plein de changements
Diffstat (limited to 'include/FHeap.h')
-rw-r--r--include/FHeap.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/FHeap.h b/include/FHeap.h
index ac58a6d..65d9253 100644
--- a/include/FHeap.h
+++ b/include/FHeap.h
@@ -10,10 +10,10 @@ typedef class FHeap:public PriorityList {
int Degree;
bool Mark;
- void Link(FHeap * x);
- void Rebuild(void);
+ void Link(FHeap * x);
+ void Rebuild(void);
FHeap(Key_t IKey, Datas_t const &IDatas); // Insert
- FHeap *Insert(FHeap * x);
+ FHeap *Insert(FHeap * x);
void Cut(FHeap * x, FHeap * y);
void CascadeCut(FHeap * y);
@@ -24,13 +24,12 @@ typedef class FHeap:public PriorityList {
virtual int rn(void);
virtual void Dump(ostream & os);
- void RDump(ostream & os);
virtual bool IsEmpty(void);
- virtual Cell Min(void);
- virtual Cell Insert(Key_t IKey, Datas_t const &IDatas);
+ virtual Cell Min(void);
+ virtual Cell Insert(Key_t IKey, Datas_t const &IDatas);
virtual Key_t Extract_Min(Datas_t & Datas);
- virtual PriorityList *Union(PriorityList * P);
+ virtual PriorityList *Union(PriorityList * P);
virtual bool Lower_Key(Cell x, Key_t NKey);
virtual Key_t Delete(Datas_t & Datas, Cell x);
} FHeap;