/[projects]/queensgui/src/solution.h
ViewVC logotype

Diff of /queensgui/src/solution.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3 by torben, Thu Jul 19 22:26:42 2007 UTC revision 4 by torben, Thu Jul 19 23:44:01 2007 UTC
# Line 43  public: Line 43  public:
43    
44          bool operator==(const Solution& sol);          bool operator==(const Solution& sol);
45          bool operator!=(const Solution& sol);          bool operator!=(const Solution& sol);
46            bool getMatrix(int x, int y);
47            void setMatrix(int x, int y, bool val);
48    
49    
50          int size() {return m_size;};          int size() {return m_size;};
51          void setSize(int size) {m_size = size;};          void setSize(int size) {m_size = size;};
52                    
         bool matrix[MAX_SIZE][MAX_SIZE];  
53  protected:  protected:
54            bool m_matrix[MAX_SIZE][MAX_SIZE];
55          int m_size;          int m_size;
56  };  };
57    

Legend:
Removed from v.3  
changed lines
  Added in v.4

  ViewVC Help
Powered by ViewVC 1.1.20