Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

MainGameFunctions.h File Reference

These are the main functions to solve any freecell-type game. More...

#include "FCSFreecellSolvingAlgorithm.h"
#include "FCSSimpleSimonSolvingAlgorithm.h"
#include "FCSTalonSolvingAlgorithm.h"
#include "FCCommandLineArguments.h"
#include "FCSOptimizeSolvingAlgorithm.h"
#include "FCPresets.h"

Go to the source code of this file.

Functions

void MainCreate (FCSPresetID GamePreset, FCCommandLineArguments *CommandLine, FCSFreecellSolvingAlgorithm **FreecellSolvingAlgorithm, FCSSimpleSimonSolvingAlgorithm **SimpleSimonSolvingAlgorithm, FCSTalonSolvingAlgorithm **TalonSolvingAlgorithm)
 Creates the correct solving algorithm.
FCSStateSolvingReturnCodes MainSolve (FCSPresetID GamePreset, FCSStateWithLocations *InitialState, FCSFreecellSolvingAlgorithm *FreecellSolvingAlgorithm, FCSSimpleSimonSolvingAlgorithm *SimpleSimonSolvingAlgorithm, FCSTalonSolvingAlgorithm *TalonSolvingAlgorithm)
 Solves the game with the correct solving algorithm.
FCSStateSolvingReturnCodes MainResume (FCSPresetID GamePreset, FCSFreecellSolvingAlgorithm *FreecellSolvingAlgorithm, FCSSimpleSimonSolvingAlgorithm *SimpleSimonSolvingAlgorithm, FCSTalonSolvingAlgorithm *TalonSolvingAlgorithm)
 Resumes the game with the correct solving algorithm.
void MainOptimize (FCSPresetID GamePreset, FCSStateWithLocations *InitialState, FCSStateWithLocations *DuplicateInitialState, FCSFreecellSolvingAlgorithm *FreecellSolvingAlgorithm, FCSSimpleSimonSolvingAlgorithm *SimpleSimonSolvingAlgorithm, FCSTalonSolvingAlgorithm *TalonSolvingAlgorithm)
 Optimizes the game with the correct solving algorithm.
void MainSolution (FCSPresetID GamePreset, FCSStateWithLocations *InitialState, FCSStateWithLocations *DuplicateInitialState, FCSFreecellSolvingAlgorithm *FreecellSolvingAlgorithm, FCSSimpleSimonSolvingAlgorithm *SimpleSimonSolvingAlgorithm, FCSTalonSolvingAlgorithm *TalonSolvingAlgorithm)
 Shows the solution to the game with the correct solving algorithm.
void MainStats (FCSPresetID GamePreset, FCSFreecellSolvingAlgorithm *FreecellSolvingAlgorithm, FCSSimpleSimonSolvingAlgorithm *SimpleSimonSolvingAlgorithm, FCSTalonSolvingAlgorithm *TalonSolvingAlgorithm)
 Shows the statistics of the game with the correct solving algorithm.


Detailed Description

Author:
Michael Mann
Version:
1.0
Date:
September 2002

Definition in file MainGameFunctions.h.


Generated on Sat Nov 5 11:20:16 2005 for Cpp Freecell Solver by  doxygen 1.4.4