spot
0.8.2
|
Strict Weak Ordering for state*
.This is meant to be used as a comparison functor for STL map
whose key are of type state*
.
More...
#include <tgba/state.hh>
Public Member Functions | |
bool | operator() (const state *left, const state *right) const |
Strict Weak Ordering for 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] |
References spot::state::compare().