state*.
More...
#include <tgba/state.hh>
Public Member Functions | |
| bool | operator() (const state *left, const state *right) const |
state*.
This is meant to be used as a comparison functor for STL 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.
std::map<spot::state*, int, spot::state_ptr_less_than> seen;
| bool spot::state_ptr_less_than::operator() | ( | const state * | left, | |
| const state * | right | |||
| ) | const [inline] |
1.5.2