#include "FCEnums.h"
Go to the source code of this file.
Classes | |
| class | FCSMove |
| Stores information about a move during a game. More... | |
| class | FCSMoveStack |
| This class stores a stack of moves. More... | |
Defines | |
| #define | FCS_MOVE_STACK_GROW_BY 16 |
| How many move stacks are allocated at a time. | |
| #define | max(a, b) ((a)>(b)?(a):(b)) |
| find the minimum of two values | |
Functions | |
| FCSMoveStack * | CreateMoveStack () |
| Create a move stack object. | |
| void | ReallocMoveStackArray (FCSMoveStack ***Array, int OldSize, int NewSize) |
| Reallocate an array of move stack pointers. | |
| void | ApplyMove (FCSStateWithLocations *StateWithLocations, FCSMove *Move, int NumberOfFreecells, int NumberOfStacks, int NumberOfDecks) |
| Perform a move on a given state. | |
Definition in file FCSMove.h.
|
||||||||||||||||||||||||
|
|
Definition at line 263 of file FCSMove.cpp. References GlobalStateType. Referenced by FCSFreecellData::CheckStateEnd(), FCSOptimizeSolvingAlgorithm< SolvingAlgorithmType >::CheckStateEnd(), FCSFreecellData::CreateTotalMovesStack(), FCSFreecellSolvingAlgorithm::EmptyStackIntoFreecells(), FCSTalonSolvingAlgorithm::GetCardFromKlondikeTalon(), FCSFreecellSolvingAlgorithm::MoveCardsToADifferentParent(), FCSFreecellSolvingAlgorithm::MoveFreecellCardsToEmptyStack(), FCSFreecellSolvingAlgorithm::MoveFreecellCardsToFounds(), FCSFreecellSolvingAlgorithm::MoveFreecellCardsToTopOfStacks(), FCSFreecellSolvingAlgorithm::MoveNonTopStackCardsToFounds(), FCSFreecellSolvingAlgorithm::MoveSequencesToFreeStacks(), FCSSimpleSimonSolvingAlgorithm::MoveSequenceToFalseParent(), FCSSimpleSimonSolvingAlgorithm::MoveSequenceToFounds(), FCSSimpleSimonSolvingAlgorithm::MoveSequenceToParentOnTheSameStack(), FCSSimpleSimonSolvingAlgorithm::MoveSequenceToTrueParent(), FCSSimpleSimonSolvingAlgorithm::MoveSequenceToTrueParentWithSomeCardsAbove(), FCSSimpleSimonSolvingAlgorithm::MoveSequenceWithJunkSequenceAboveToTrueParentWithSomeCardsAbove(), FCSSimpleSimonSolvingAlgorithm::MoveSequenceWithSomeCardsAboveToTrueParent(), FCSFreecellSolvingAlgorithm::MoveStackCardsToAParentOnTheSameStack(), FCSFreecellSolvingAlgorithm::MoveStackCardsToDifferentStacks(), FCSFreecellSolvingAlgorithm::MoveTopStackCardsToFounds(), FCSSimpleSimonSolvingAlgorithm::MoveWholeStackSequenceToFalseParent(), FCSSimpleSimonSolvingAlgorithm::MoveWholeStackSequenceToFalseParentWithSomeCardsAbove(), and FCSMoveStack::Normalize(). |
|
||||||||||||||||
|
The normal realloc was insufficient to handle this becuase of the different move types
Definition at line 280 of file FCSMove.cpp. References GlobalStateType. Referenced by FCSSoftDFSSolvingAlgorithm< SolvingAlgorithmType >::IncreaseDFSMaxDepth(). |
1.4.4