#include <solution_optimize_dialog.h>
Inheritance diagram for SolutionOptimizeDialog::

Public Methods | |
| SolutionOptimizeDialog (CompressedMap const &map, bool opt_pushes, QWidget *parent=0, const char *name=0) | |
| SolutionOptimizeDialog (int index, bool opt_pushes, QWidget *parent=0, const char *name=0) | |
Protected Slots | |
| void | slotUser1 () |
| void | slotOk () |
Private Attributes | |
| CompressedMap const & | m_map |
| SolutionListView * | m_list_view |
| std::vector< int > | m_optimized |
| std::vector< Movements > | m_moves |
| int | m_index |
| bool | m_opt_pushes |
|
|||||||||||||||||||||||||||||
|
Contructs the object. Note that the map <e>must</e> have a solution.
|
|
|||||||||||||||||||||||||||||
|
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. |
|
|
Called when a ok is clicked.
|
|
|
Called when the user selected optimize.
|
|
|
The index of the map.
|
|
|
The list view with the solution data.
|
|
|
The compressed map.
|
|
|
Here we store the moves.
|
|
|
If true, we optimzed pushes.
|
|
|
Here we store 1, if the solutions was optimized.
|
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001