84 |
m_board->setSize( 8 ); |
m_board->setSize( 8 ); |
85 |
|
|
86 |
m_storage = StorageInt; |
m_storage = StorageInt; |
87 |
m_sortalgo = SortList; |
m_sortalgo = SortMinimalVector; |
88 |
m_solutions = NULL; |
m_solutions = NULL; |
89 |
m_queens = NULL; |
m_queens = NULL; |
90 |
m_sol = NULL; |
m_sol = NULL; |
266 |
|
|
267 |
void QueensMain::uniqueSolutions() |
void QueensMain::uniqueSolutions() |
268 |
{ |
{ |
269 |
m_totalcount = m_solutions->numSolutions(); |
m_totalcount = m_solutions->totalSolutions(); |
270 |
m_status->setText( QString("sorting ") + QString::number(m_totalcount,10).append(" solutions...") ); |
m_status->setText( QString("sorting ") + QString::number(m_totalcount,10).append(" solutions...") ); |
271 |
|
|
272 |
m_elapsed.restart(); |
m_elapsed.restart(); |