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

AFCSGenericStateStorage Class Reference

Abstract, generic state storage class.

#include <FCSStateStorage.h>

Inheritance diagram for AFCSGenericStateStorage:

FCHashStateStorage FCIndirectStateStorage FCTreeStateStorage FCGLIBHashStateStorage FCInternalHashStateStorage FCAVLRedBlackTreeStateStorage FCAVLTreeStateStorage FCGLIBTreeStateStorage FCRedBlackTreeStateStorage List of all members.

Public Member Functions

virtual ~AFCSGenericStateStorage ()
 Destructor.
virtual bool CheckAndInsert (FCSStateWithLocations **ExistingState, FCSStateWithLocations *NewState)=0
 Insert a state into storage.

Detailed Description

Definition at line 32 of file FCSStateStorage.h.


Member Function Documentation

virtual bool AFCSGenericStateStorage::CheckAndInsert FCSStateWithLocations **  ExistingState,
FCSStateWithLocations NewState
[pure virtual]
 

Parameters:
ExistingState is the found or recently inserted state
NewState is the state to try to insert
Returns:
Return true if state was inserted, else false

Implemented in FCTreeStateStorage, FCHashStateStorage, and FCIndirectStateStorage.

Referenced by FCSTalonSolvingAlgorithm::CheckAndAddState(), and FCSFreecellData::CheckAndAddState().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 11:20:16 2005 for Cpp Freecell Solver by  doxygen 1.4.4