spot
1.0
|
Hash Function for saba_state*
.This is meant to be used as a hash functor for Sgi's hash_map
whose key are of type saba_state*
.
More...
#include <saba/sabastate.hh>
Public Member Functions | |
size_t | operator() (const saba_state *that) const |
Hash Function for saba_state*
.
This is meant to be used as a hash functor for Sgi's hash_map
whose key are of type saba_state*
.
For instance here is how one could declare a map of \c saba_state*. @code
// Remember how many times each state has been visited. Sgi::hash_map<spot::saba_state*, int, spot::saba_state_ptr_hash, spot::saba_state_ptr_equal> seen;
|
inline |
References spot::saba_state::hash().