Assignment Search Framework
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Pages
StateHashFunction< state_t > Class Template Referenceabstract
Inheritance diagram for StateHashFunction< state_t >:

Public Member Functions

 StateHashFunction ()
 
virtual ~StateHashFunction ()
 
virtual StateHash getStateHash (const state_t &state) const =0
 

Detailed Description

template<class state_t>
class StateHashFunction< state_t >

An abstract class defining a hash function for states.

Constructor & Destructor Documentation

template<class state_t >
StateHashFunction< state_t >::StateHashFunction ( )

Constructor for the abstract hash function. Abstract constructor is empty.

template<class state_t >
StateHashFunction< state_t >::~StateHashFunction ( )
virtual

Destructor for the abstract hash function. Abstract destructor is empty.

Member Function Documentation

template<class state_t>
virtual StateHash StateHashFunction< state_t >::getStateHash ( const state_t &  state) const
pure virtual

Returns the hash value of the given state.

Parameters
stateThe state whose hash value is needed.
Returns
The hash value of the given state.

Implemented in MapLocHashFunction, and PermutationHashFunction< state_t >.


The documentation for this class was generated from the following file: