summaryrefslogtreecommitdiff
path: root/include/BHeap.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/BHeap.h
parent833d20a69fe17ab846c153e35230c66a41d8fca9 (diff)
Plein de changements
Diffstat (limited to 'include/BHeap.h')
-rw-r--r--include/BHeap.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/BHeap.h b/include/BHeap.h
index ab63852..d67ab29 100644
--- a/include/BHeap.h
+++ b/include/BHeap.h
@@ -10,10 +10,10 @@ class BHeap:public PriorityList {
BHeap *Father, *Child, *Brother;
CList *FP;
- void Link(BHeap * z);
- void Merge(BHeap * H);
+ void Link(BHeap * z);
+ void Merge(BHeap * H);
BHeap(Key_t IKey, Datas_t const &IDatas); // Insert
- Cell Insert(BHeap * x);
+ Cell Insert(BHeap * x);
public:
BHeap(void); // Constructor
@@ -22,15 +22,15 @@ class BHeap:public PriorityList {
virtual Key_t ReadKey(Cell C);
virtual Datas_t ReadDatas(Cell C);
- virtual void Dump(ostream & os);
+ virtual void Dump(ostream & os);
virtual bool IsEmpty(void);
- 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 bool Lower_Key(Cell x, Key_t NKey);
- virtual Key_t Delete(Datas_t & Datas, Cell x);
+ 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 bool Lower_Key(Cell x, Key_t NKey);
+ virtual Key_t Delete(Datas_t & Datas, Cell x);
};
#else
#error This librairy will only compile with a C++ compiler.