Visualisierung2
myElement.h
Go to the documentation of this file.
1 #pragma once
2 
3 #if !defined(TUP_INCLUDED)
4 #define TUP_INCLUDED
5 
7 struct mytuple {
8  double m;
9  int i;
10  int j;
11  int k;
12 }; extern mytuple tuple;
13 #endif
14 
17 class myElement
18 {
19 public:
20  int key;
21  double stored;
23 
24  bool color;
25 
29 
30  myElement(void);
31  ~myElement(void);
32 };
33 
myElement * parent
Pointer zum Elternknoten.
Definition: myElement.h:26
bool color
Farbmarkierung des Knotens im Baum (true = rot, false = schwarz).
Definition: myElement.h:24
mytuple tuple
mytuple * heap_ptr
Pointer zur Position des Elements im myMaxheap.
Definition: myElement.h:22
int k
Index des Elements im Heap.
Definition: myElement.h:11
myElement * right
Pointer zum rechten Kind.
Definition: myElement.h:28
myElement * left
Pointer zum linken Kind.
Definition: myElement.h:27
myElement(void)
Definition: myElement.cpp:4
int key
Der Key der Position im Baum.
Definition: myElement.h:20
~myElement(void)
Definition: myElement.cpp:15
int i
Zeilenindex des Elements.
Definition: myElement.h:9
double m
Abgelegter Wert/Parameter.
Definition: myElement.h:8
int j
Spaltenindex des Elements.
Definition: myElement.h:10
double stored
Der Wert/Parameter an dieser Stelle.
Definition: myElement.h:21