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

FCSIndirectStatesCompareAlgorithm< Data > Class Template Reference

#include <FCSIndirectStateCompareAlgorithm.h>

Inheritance diagram for FCSIndirectStatesCompareAlgorithm< Data >:

ACompareNodesAlgorithm< Data, void > List of all members.

Public Member Functions

virtual int Compare (const Data *Node1, const Data *Node2, const void *TConfigData)
 Compare function.

Detailed Description

template<class Data>
class FCSIndirectStatesCompareAlgorithm< Data >

Compares two FCSIndirectStateWithLocations objects

This was needed for the storage algorithms of indirect states Data = FCSIndirectStateWithLocations<FCSStateWithLocations>*, ConfigData = void

Definition at line 63 of file FCSIndirectStateCompareAlgorithm.h.


Member Function Documentation

template<class Data>
int FCSIndirectStatesCompareAlgorithm< Data >::Compare const Data *  Node1,
const Data *  Node2,
const void *  TConfigData
[virtual]
 

Parameters:
Node1 is the first item to compare
Node2 is the second item to compare
TConfigData is any configurate data needed for the compare
Returns:
Returns -1 if Node1 < Node2. Returns 1 if Node1 > Node2. Returns 0 if Node1 = Node2

Implements ACompareNodesAlgorithm< Data, void >.

Definition at line 76 of file FCSIndirectStateCompareAlgorithm.h.


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