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

MD5StateWithLocationsHashAlgorithm Class Reference

Hash algorithm specifically for FCSStateWithLocation classes. More...

#include <FCState.h>

Inheritance diagram for MD5StateWithLocationsHashAlgorithm:

MD5HashAlgorithm< FCSStateWithLocations > AHashAlgorithm< FCSStateWithLocations > List of all members.

Public Member Functions

virtual int Hash (const FCSStateWithLocations *key)
 Hash function.

Detailed Description

This hash algorithm uses the MD5 hash algorithm to handle the dynamic allocation of the FCSStateWithLocation classes

Definition at line 280 of file FCState.h.


Member Function Documentation

int MD5StateWithLocationsHashAlgorithm::Hash const FCSStateWithLocations key  )  [virtual]
 

Parameters:
key is the value to be hashed
Returns:
Returns hash value

Reimplemented from MD5HashAlgorithm< FCSStateWithLocations >.

Definition at line 621 of file FCState.cpp.

References MD5Hash::Final(), MD5Hash::Init(), MD5HashAlgorithm< FCSStateWithLocations >::m_MD5Hash, MD5_HASHBYTES, and MD5Hash::Update().


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