#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include "FCSMove.h"
#include "FCSDebugMove.h"
#include "FCSCompactMove.h"
#include "FCState.h"
#include "FCTalonState.h"
#include "FCHelpingAlgorithms.h"
Go to the source code of this file.
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.cpp.
|
|
Definition at line 263 of file FCSMove.cpp. References GlobalStateType. Referenced by FCSOptimizeSolvingAlgorithm< SolvingAlgorithmType >::CheckStateEnd(), FCSFreecellData::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(). |