--- queensgui/src/solution.h 2007/07/19 21:34:15 1 +++ queensgui/src/solution.h 2007/07/19 23:44:01 4 @@ -38,15 +38,20 @@ void set(bool input[MAX_SIZE][MAX_SIZE]); void rotate90(); void mirror(); + + Solution* copy(); bool operator==(const Solution& sol); bool operator!=(const Solution& sol); + bool getMatrix(int x, int y); + void setMatrix(int x, int y, bool val); + int size() {return m_size;}; void setSize(int size) {m_size = size;}; - bool matrix[MAX_SIZE][MAX_SIZE]; protected: + bool m_matrix[MAX_SIZE][MAX_SIZE]; int m_size; };