spot
0.8.1
|
An Equivalence Relation for state*
.This is meant to be used as a comparison functor for Sgi hash_map
whose key are of type state*
.
More...
#include <tgba/state.hh>
Public Member Functions | |
bool | operator() (const state *left, const state *right) const |
An Equivalence Relation for state*
.
This is meant to be used as a comparison functor for Sgi 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;
References spot::state::compare().