#include <FCCommandLineArguments.h>
Inheritance diagram for FCCommandLineArguments:

Public Member Functions | |
| FCCommandLineArguments () | |
| Constructor. | |
| virtual | ~FCCommandLineArguments () |
| Destructor. | |
| bool | Parse (int argc, char **argv) |
| Parse the command line. | |
| bool | Verify () |
| Verify the validity of the command line arguments. | |
| int | GetMaxDepth () |
| Get the max depth parameter. | |
| int | GetMaxNumberOfIterations () |
| Get the max number of iterations parameter. | |
| int | GetNumberOfTests () |
| Get the number of tests for the solver. | |
| char | GetTestOrderNumber (int Number) |
| Get test number. | |
| int | GetNumberOfFreecells () |
| Get the number of freecells used for the game. | |
| int | GetNumberOfStacks () |
| Get the number of stacks used for the game. | |
| int | GetNumberOfDecks () |
| Get the number of decks used for the game. | |
| int | GetSeed () |
| Get the randomize seed initializer (used for random-DFS). | |
| int | GetMaxStoredStates () |
| Get the maximum number of stored states. | |
| BuildSequenceByEnum | GetSequenceBuildType () |
| Get the sequence by which the cards are build for the game. | |
| bool | GetIsSequenceMoveUnlimited () |
| Get flag determining whether sequence moves are unlimited in size. | |
| FCEmptyStacksFillType | GetEmptyStacksFill () |
| Get how empty stacks are filled in a game. | |
| char * | GetGameName () |
| Get the name of the game being played. | |
| char * | GetAStarWeights () |
| Get a string of the a-star weights. | |
| double | GetAStarWeightValues (int Number) |
| Get a specific a-star weight value. | |
| FCStateType | GetStateType () |
| Get the state type used in the game. | |
| FCStorageType | GetStateStorageType () |
| Get the type of storage used for the states in the game. | |
| FCStorageType | GetStackStorageType () |
| Get the type of storage used for the stacks in the game. | |
| FCSTalonType | GetTalonType () |
| Get the talon type of the game. | |
| FCSolvingMethodType | GetSolvingMethodType () |
| Get the solving method used to solve the game. | |
| bool | GetOptimizeSolution () |
| Get flag determining if a solved solution should be optimized. | |
| FCSStateWithLocations * | GetInitialState () |
| Get the initial state of the game to solve. | |
| FCSDebugDisplayInfo * | GetDebugDisplayInfo () |
| Get the debug display parameters. | |
Protected Attributes | |
| bool | m_DisplayHelp |
| Flag determining if command line help should be displayed. | |
| int | m_NumberOfFreecells |
| Number of freecells in the game. | |
| int | m_NumberOfStacks |
| Number of stacks in the game. | |
| int | m_NumberOfDecks |
| Number of decks in the game. | |
| char | m_SequencesBuiltBy [FC_SIZE_OF_SEQUENCE_BUILT_BY] |
| String holding command line parameter determining how sequences are built. | |
| BuildSequenceByEnum | m_SequencesBuiltByType |
| Sequence build type for the game. | |
| char | m_SequenceMoveUnlimited [FC_SIZE_OF_SEQUENCE_MOVE] |
| String holding command line parameter determining if sequence moves are unlimited. | |
| bool | m_IsSequenceMoveUnlimited |
| Flag determining if sequence moves are unlimited. | |
| char | m_EmptyStacksFilledBy [FC_SIZE_OF_EMPTY_STACK_FILLED_BY] |
| String holding command line parameter determining how empty stacks are filled. | |
| FCEmptyStacksFillType | m_EmptyStacksFilledByType |
| How empty stacks are filled in the game. | |
| char | m_GameName [FC_SIZE_OF_GAME_NAME] |
| Name of the game being played. | |
| int | m_MaxNumberOfIterations |
| The maximum number of states that will be checked by the solving algorithm. | |
| int | m_MaxDepth |
| Maximum depth the solving algorithm will explore. | |
| char | m_TempTestOrder [FCS_TESTS_NUM *3+1] |
| String holding command line parameter determining the test order. | |
| int | m_TestOrder [FCS_TESTS_NUM] |
| The order the tests will be performed. | |
| int | m_NumberOfTests |
| The number of tests being performed (per state). | |
| char | m_SolvingMethod [FC_SIZE_OF_SOLVING_METHOD] |
| String holding command line parameter determining the solving method. | |
| FCSolvingMethodType | m_SolvingMethodType |
| The solving method used. | |
| char | m_AStarWeights [FC_SIZE_OF_ASTAR_WEIGHT_ARRAY] |
| double | m_AStarWeightValues [FC_NUMBER_OF_ASTAR_WEIGHTS] |
| The values of a-star weights. | |
| int | m_Seed |
| Randomize seed initializer. | |
| int | m_MaxStoredStates |
| Maximum number of stored states. | |
| bool | m_OptimizeSolution |
| Flag to optimize a solved solution. | |
| char | m_StateTypeArray [FC_SIZE_OF_STATE_TYPE_ARRAY] |
| String holding command line parameter determining the state type used. | |
| FCStateType | m_StateType |
| State type (debug, compact, indirect). | |
| char | m_StateStorage [FC_SIZE_OF_STATE_STORAGE] |
| String holding command line parameter determining the type of storage for states. | |
| char | m_StackStorage [FC_SIZE_OF_STACK_STORAGE] |
| String holding command line parameter determining the type of storage for stacks. | |
| char | m_Talon [FC_SIZE_OF_TALON] |
| String holding command line parameter determining the type of talon. | |
| FCSTalonType | m_TalonType |
| Talon type used for the game. | |
| FCStorageType | m_StateStorageType |
| How the states are stored. | |
| FCStorageType | m_StackStorageType |
| How the stacks are stored. | |
| char | m_UserState [FC_SIZE_OF_INPUT_USER_STATE] |
| String representing a string version of the start state of the game. | |
| FCSStateWithLocations * | m_InitialState |
| The initial state in the game. | |
| FCSDebugDisplayInfo * | m_DebugDisplayInfo |
| Debug display parameters. | |
Definition at line 43 of file FCCommandLineArguments.h.
|
|
Definition at line 872 of file FCCommandLineArguments.cpp. References m_AStarWeights. Referenced by FCSAStarSolvingAlgorithm< SolvingAlgorithmType >::FCSAStarSolvingAlgorithm(). |
|
|
Definition at line 877 of file FCCommandLineArguments.cpp. References m_AStarWeightValues. Referenced by FCSAStarSolvingAlgorithm< SolvingAlgorithmType >::FCSAStarSolvingAlgorithm(). |
|
|
Definition at line 917 of file FCCommandLineArguments.cpp. References m_DebugDisplayInfo. Referenced by FCSFreecellData::FCSFreecellData(). |
|
|
Definition at line 862 of file FCCommandLineArguments.cpp. References m_EmptyStacksFilledByType. Referenced by FCSFreecellData::FCSFreecellData(). |
|
|
Definition at line 867 of file FCCommandLineArguments.cpp. References m_GameName. Referenced by main(), and TestEachGame(). |
|
|
Definition at line 912 of file FCCommandLineArguments.cpp. References m_InitialState. Referenced by main(), and TestEachGame(). |
|
|
Definition at line 857 of file FCCommandLineArguments.cpp. References m_IsSequenceMoveUnlimited. Referenced by FCSFreecellData::FCSFreecellData(). |
|
|
Definition at line 807 of file FCCommandLineArguments.cpp. References m_MaxDepth. Referenced by FCSFreecellData::FCSFreecellData(). |
|
|
Definition at line 812 of file FCCommandLineArguments.cpp. References m_MaxNumberOfIterations. Referenced by FCSFreecellData::FCSFreecellData(). |
|
|
Definition at line 842 of file FCCommandLineArguments.cpp. References m_MaxStoredStates. Referenced by FCSFreecellData::FCSFreecellData(). |
|
|
Definition at line 837 of file FCCommandLineArguments.cpp. References m_NumberOfDecks. Referenced by FCSFreecellData::FCSFreecellData(). |
|
|
Definition at line 827 of file FCCommandLineArguments.cpp. References m_NumberOfFreecells. Referenced by FCSFreecellData::FCSFreecellData(), main(), and TestEachGame(). |
|
|
Definition at line 832 of file FCCommandLineArguments.cpp. References m_NumberOfStacks. Referenced by FCSFreecellData::FCSFreecellData(), main(), and TestEachGame(). |
|
|
Definition at line 817 of file FCCommandLineArguments.cpp. References m_NumberOfTests. Referenced by FCSFreecellData::FCSFreecellData(). |
|
|
Definition at line 907 of file FCCommandLineArguments.cpp. References m_OptimizeSolution. Referenced by FCSFreecellData::FCSFreecellData(), main(), and TestEachGame(). |
|
|
Definition at line 847 of file FCCommandLineArguments.cpp. References m_Seed. Referenced by FCSRandomDFSSolvingAlgorithm< SolvingAlgorithmType >::FCSRandomDFSSolvingAlgorithm(). |
|
|
Definition at line 852 of file FCCommandLineArguments.cpp. References m_SequencesBuiltByType. Referenced by FCSFreecellData::FCSFreecellData(). |
|
|
Definition at line 882 of file FCCommandLineArguments.cpp. References m_SolvingMethodType. Referenced by FCSTalonSolvingAlgorithm::Create(), FCSSimpleSimonSolvingAlgorithm::Create(), and FCSFreecellSolvingAlgorithm::Create(). |
|
|
Definition at line 897 of file FCCommandLineArguments.cpp. References m_StackStorageType. Referenced by FCSFreecellData::FCSFreecellData(). |
|
|
Definition at line 892 of file FCCommandLineArguments.cpp. References m_StateStorageType. Referenced by FCSFreecellData::FCSFreecellData(). |
|
|
Definition at line 887 of file FCCommandLineArguments.cpp. References m_StateType. Referenced by FCSFreecellData::FCSFreecellData(). |
|
|
Definition at line 902 of file FCCommandLineArguments.cpp. References m_TalonType. Referenced by FCSTalonSolvingAlgorithm::FCSTalonSolvingAlgorithm(). |
|
|
Definition at line 822 of file FCCommandLineArguments.cpp. References m_TestOrder. Referenced by FCSFreecellData::FCSFreecellData(). |
|
||||||||||||
|
|
Definition at line 279 of file FCCommandLineArguments.cpp. References FCSStateWithLocations::CheckStateValidity(), CreateInitialState(), DEBUG_DISPLAY_10_AS_T, DEBUG_DISPLAY_MOVES, DEBUG_USE_STANDARD_NOTATION, DisplayHelp(), FC_NUMBER_OF_ASTAR_WEIGHTS, FC_SIZE_OF_ASTAR_WEIGHT_ARRAY, FCSApplyTestOrder(), FCSPreset::GetPresetInfo(), GlobalStateType, m_AStarWeights, m_AStarWeightValues, m_DebugDisplayInfo, FCSDebugDisplayInfo::m_DisplayDebug, FCSDebugDisplayInfo::m_DisplayDebugOptions, m_DisplayHelp, FCSPreset::m_EmptyStacksFill, m_EmptyStacksFilledBy, m_EmptyStacksFilledByType, m_GameName, m_InitialState, m_IsSequenceMoveUnlimited, m_MaxDepth, m_MaxNumberOfIterations, FCSDebugDisplayInfo::m_NumberOfDecks, FCSPreset::m_NumberOfDecks, m_NumberOfDecks, FCSDebugDisplayInfo::m_NumberOfFreecells, FCSPreset::m_NumberOfFreecells, m_NumberOfFreecells, FCSDebugDisplayInfo::m_NumberOfStacks, FCSPreset::m_NumberOfStacks, m_NumberOfStacks, m_NumberOfTests, m_SequenceMoveUnlimited, FCSPreset::m_SequencesAreBuiltBy, m_SequencesBuiltBy, m_SequencesBuiltByType, m_SolvingMethod, m_SolvingMethodType, m_StackStorage, m_StackStorageType, m_StateStorage, m_StateStorageType, m_StateType, m_StateTypeArray, m_Talon, FCSPreset::m_TalonType, FCSDebugDisplayInfo::m_TalonType, m_TalonType, m_TempTestOrder, FCSPreset::m_TestOrder, m_TestOrder, FCSPreset::m_UnlimitedSequenceMove, m_UserState, and FCSCard::Perl2User(). Referenced by main(), and TestEachGame(). |
|
|
String holding command line parameter determining the a-star weights when the a-star solving algorithm is used Definition at line 240 of file FCCommandLineArguments.h. Referenced by FCCommandLineArguments(), GetAStarWeights(), Parse(), TestCommandLineArguments::TestConstructor(), TestCommandLineArguments::TestParse(), and Verify(). |
1.4.4