Parent Directory | Revision Log | Patch
revision 1 by torben, Thu Jul 19 21:34:15 2007 UTC | revision 2 by torben, Thu Jul 19 22:26:42 2007 UTC | |
---|---|---|
# | Line 31 class QSpinBox; | Line 31 class QSpinBox; |
31 | class QListBox; | class QListBox; |
32 | class QLabel; | class QLabel; |
33 | class QString; | class QString; |
34 | class Solution; | |
35 | ||
36 | class SolutionContainer; | class SolutionContainer; |
37 | class Queens; | class Queens; |
38 | class Board; | class Board; |
39 | ||
40 | enum SortingAlgorithm{SortVector, SortList, SortHash, SortMNVector}; | enum SortingAlgorithm{SortVector, SortList, SortHash, SortMNVector}; |
41 | enum StorageClass{ StorageInt, StorageMatrix }; | |
42 | ||
43 | ||
44 | /** | /** |
45 | @author Torben Nielsen | @author Torben Nielsen |
# | Line 54 private: | Line 57 private: |
57 | QLabel *m_status; | QLabel *m_status; |
58 | QTime m_time; | QTime m_time; |
59 | ||
60 | Solution* m_sol; | |
61 | SolutionContainer *m_solutions; | SolutionContainer *m_solutions; |
62 | Queens *m_queens; | Queens *m_queens; |
63 | SortingAlgorithm m_sortalgo; | SortingAlgorithm m_sortalgo; |
64 | StorageClass m_storage; | |
65 | ||
66 | QTime m_elapsed; | QTime m_elapsed; |
67 | int m_totalcount; | int m_totalcount; |
# | Line 84 public slots: | Line 89 public slots: |
89 | void sortVector(); | void sortVector(); |
90 | void sortHash(); | void sortHash(); |
91 | void sortMNVector(); | void sortMNVector(); |
92 | ||
93 | void storageInt(); | |
94 | void storageMatrix(); | |
95 | ||
96 | }; | }; |
97 | ||
98 | #endif | #endif |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |