diff --git a/Hazard/Hazard/Wertetabelle.h b/Hazard/Hazard/Wertetabelle.h new file mode 100644 index 0000000..a5b3b7b --- /dev/null +++ b/Hazard/Hazard/Wertetabelle.h @@ -0,0 +1,43 @@ +#include +#include +#include "PrimImplikantCollection.h" +#include "Cparser.h" +#include + +using namespace std; + +unsigned int numElements ; +bool KNF ; + +#ifndef WERTETABELLE +#define WERTETABELLE + + +class Wertetabelle{ + + +public: + + int print(PrimImplikantCollection* &PIC){ + + cout << "KNF=" << KNF << endl; + cout << "Dezimalwerte\t|\tAusgangWerte(y)" << endl; + for (unsigned int i = 0; i < numElements; i++){ + cout << "\t" << i << "\t\t|\t" << PIC->valueAt(i) << endl; + } + } + + + Wertetabelle(PrimImplikantCollection* &PIC){ // Konstruktor + print(PIC); + } + +}; + + + + + + + +#endif \ No newline at end of file