696610967d
Die Klassen PrimImplikant und PrimImplikantCollection sind weitestgehend fertig.
25 lines
434 B
C++
25 lines
434 B
C++
#ifndef PRIMIMPLIKANTCOLLEC
|
|
#define PRIMIMPLIKANTCOLLEC
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
#include "PrimImplikant.h"
|
|
|
|
using namespace std;
|
|
|
|
class PrimImplikantCollection{
|
|
public:
|
|
void add(PrimImplikant &PI);
|
|
void add(string input);
|
|
void add(int input);
|
|
|
|
bool valueAt(int position);
|
|
vector<PrimImplikant> primImplikantenAt(int position);
|
|
|
|
PrimImplikant solveNextHazard();
|
|
|
|
private:
|
|
vector<PrimImplikant> PIVector;
|
|
};
|
|
|
|
#endif |