state*.
More...
#include <tgba/state.hh>
Public Member Functions | |
| size_t | operator() (const state *that) const |
state*.
This is meant to be used as a hash functor for Sgi's hash_map whose key are of type state*.
For instance here is how one could declare a map of state*.
// Remember how many times each state has been visited. Sgi::hash_map<spot::state*, int, spot::state_ptr_hash, spot::state_ptr_equal> seen;
| size_t spot::state_ptr_hash::operator() | ( | const state * | that | ) | const [inline] |
1.5.2