1234567891011121314151617181920212223242526272829 |
- #pragma once
- #include <bitset>
- #include <vector>
- #include <qstring.h>
- class dataTest
- {
- private:
- /* struct for storing a calculated solution*/
- struct solution {
- public:
- solution(int n, double objectiveFunctionValue = 0.0): bits(n), objectiveFunctionValue(objectiveFunctionValue){}
- std::vector<bool> bits;
- double objectiveFunctionValue;
- QString toQString();
- };
- public:
- std::vector<solution> entrys = std::vector<solution>();
- /* Contructor of this test class*/
- dataTest();
- ~dataTest();
- };
|