26 |
/** |
/** |
27 |
@author Torben Nielsen |
@author Torben Nielsen |
28 |
*/ |
*/ |
29 |
class SolutionMatrix : public Solution |
/*class SolutionMatrix : public Solution |
30 |
{ |
{ |
31 |
public: |
public: |
32 |
// functions |
// functions |
40 |
Solution* copy(); |
Solution* copy(); |
41 |
|
|
42 |
bool operator==(const Solution& sol); |
bool operator==(const Solution& sol); |
43 |
bool operator!=(const Solution& sol); |
|
44 |
bool getMatrix(int x, int y); |
bool getMatrix(int x, int y); |
45 |
void setMatrix(int x, int y, bool val); |
void setMatrix(int x, int y, bool val); |
46 |
|
|
51 |
protected: |
protected: |
52 |
bool m_matrix[MAX_SIZE][MAX_SIZE]; |
bool m_matrix[MAX_SIZE][MAX_SIZE]; |
53 |
explicit SolutionMatrix(const SolutionMatrix &input); |
explicit SolutionMatrix(const SolutionMatrix &input); |
54 |
}; |
};*/ |
55 |
|
|
56 |
#endif //SOLUTIONMATRIX_H |
#endif //SOLUTIONMATRIX_H |