#include <FCSSoftDFSSolvingAlgorithm.h>
Inheritance diagram for FCSSoftDFSSolvingAlgorithm< SolvingAlgorithmType >:
Public Member Functions | |
FCSSoftDFSSolvingAlgorithm (FCCommandLineArguments *CommandLine) | |
Constructor with command line interface. | |
virtual | ~FCSSoftDFSSolvingAlgorithm () |
Destructor. | |
virtual FCSStateSolvingReturnCodes | Solve (FCSStateWithLocations *StateWithLocations, int Depth) |
Solve the game. | |
virtual FCSStateSolvingReturnCodes | Resume (int Depth) |
Resume solving a game. | |
Protected Member Functions | |
FCSSoftDFSSolvingAlgorithm () | |
Default constructor. | |
void | InitFCSSoftDFSSolvingAlgorithm () |
The "real" default constructor. | |
virtual FCSStateSolvingReturnCodes | SolveOrResume (int Depth) |
Solve or resume solving a game. | |
virtual void | IncreaseDFSMaxDepth () |
Increase the max depth and the affected structures. | |
Protected Attributes | |
int | m_DFSMaxDepth |
Temporary max depth of the scan. | |
FCSDerivedStatesList * | m_SoftDFSDerivedStatesLists |
Derived state list for the soft-dfs scans. | |
int * | m_SoftDFSCurrentStateIndexes |
m_SoftDFSCurrentStateIndexes[i] - The index of the last checked state in depth i. | |
int * | m_SoftDFSTestIndexes |
m_SoftDFSTestIndexes[i] - The index of the test that was last performed. FCS performs each test separately, so states_to_check[i] and friends will not be overpopulated. | |
int * | m_SoftDFSNumberOfFreestacks |
m_SoftDFSNumberOfFreestacks[i] - The number of unoccupied stacks that correspond to m_SolutionStates[i]. | |
int * | m_SoftDFSNumberOfFreecells |
m_SoftDFSNumberOfFreecells[i] - The number of unoccupied freecells that correspond to m_SolutionStates[i]. |
Definition at line 22 of file FCSSoftDFSSolvingAlgorithm.h.
|
Definition at line 149 of file FCSSoftDFSSolvingAlgorithm.h. References FCSSoftDFSSolvingAlgorithm< SolvingAlgorithmType >::SolveOrResume(). |
|
Definition at line 135 of file FCSSoftDFSSolvingAlgorithm.h. References FCSSoftDFSSolvingAlgorithm< SolvingAlgorithmType >::IncreaseDFSMaxDepth(), and FCSSoftDFSSolvingAlgorithm< SolvingAlgorithmType >::SolveOrResume(). |
|