summaryrefslogtreecommitdiff
path: root/lib/FHeap.cc
diff options
context:
space:
mode:
authorPixel <>2001-03-03 22:53:41 +0000
committerPixel <>2001-03-03 22:53:41 +0000
commitdc2ce18ea8e1686e61dce2b924e3607df69a2dcf (patch)
treef035493abaca3227da9bbae2b628afbeb990759c /lib/FHeap.cc
parent833d20a69fe17ab846c153e35230c66a41d8fca9 (diff)
Plein de changements
Diffstat (limited to 'lib/FHeap.cc')
-rw-r--r--lib/FHeap.cc10
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/FHeap.cc b/lib/FHeap.cc
index f8a206f..9f3dc24 100644
--- a/lib/FHeap.cc
+++ b/lib/FHeap.cc
@@ -82,8 +82,7 @@ void FHeap::Dump(ostream & os)
} else {
for (i = 1; i <= d; i++)
os << " |";
- os << (Child ? "_ " : "__ ") << Key << " (" << Degree <<
- ")\n";
+ os << (Child ? "_ " : "__ ") << Key << " (" << Degree << ")\n";
}
if (Child) {
d++;
@@ -121,16 +120,15 @@ int FHeap::rn(void)
return n;
}
-FHeap::FHeap(void):Father(NULL), Child(NULL), Left(this), Right(this),
-Degree(-1), Mark(false)
+FHeap::FHeap(void):Father(NULL), Child(NULL), Left(this), Right(this), Degree(-1), Mark(false)
{
- type = T_FHEAP;
+ type = T_FHEAP;
}
FHeap::FHeap(Key_t IKey, Datas_t const &IDatas):PriorityList(IKey, IDatas),
Father(NULL), Child(NULL), Left(this), Right(this), Degree(0), Mark(false)
{
- type =T_FHEAP;
+ type = T_FHEAP;
#ifdef DEBUG
nc++;
#endif