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 saba_state*
.
// 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;
size_t spot::saba_state_ptr_hash::operator() | ( | const saba_state * | that | ) | const [inline] |
References spot::saba_state::hash().