Last change
on this file since 314 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
505 bytes
|
Rev | Line | |
---|
[2] | 1 |
|
---|
| 2 | #ifndef FiboQueueVar
|
---|
| 3 | #define FiboQueueVar
|
---|
| 4 |
|
---|
| 5 | #ifndef NULL
|
---|
| 6 | #define NULL 0
|
---|
| 7 | #endif
|
---|
| 8 |
|
---|
| 9 | #include "showlist.h"
|
---|
| 10 |
|
---|
| 11 | class FiboQueue
|
---|
| 12 | {
|
---|
| 13 | public:
|
---|
| 14 | // beeld de Fibonacci rij, niveau voor niveau, af op het beeldscherm;
|
---|
| 15 | void Show ();
|
---|
| 16 | FiboNode *Min; // wijst naar het minimum element van de Fibonacci rij
|
---|
| 17 | // niet private!
|
---|
| 18 |
|
---|
| 19 | private:
|
---|
| 20 | void BouwShowListOp (FiboNode *Deze, List *LPtr, int& Positie);
|
---|
| 21 | void ShowList (List *Wortel);
|
---|
| 22 |
|
---|
| 23 | };
|
---|
| 24 |
|
---|
| 25 |
|
---|
| 26 | #endif // van de ifndef
|
---|
| 27 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.