spot 2.13
|
Render state pointers unique via a hash table. More...
#include <spot/twa/twa.hh>
Public Member Functions | |
const state * | operator() (const state *s) |
Canonicalize state pointer. More... | |
const state * | is_new (const state *s) |
Canonicalize state pointer. More... | |
size_t | size () |
Render state pointers unique via a hash table.
Canonicalize state pointer.
Same as operator(), except that a nullptr is returned if the state is not new.
References spot::state::destroy().
Canonicalize state pointer.
If this is the first time a state is seen, this returns the state pointer as-is, otherwise it frees the state and returns a pointer to the previously seen copy.
States are owned by the table and will be freed on destruction.
References spot::state::destroy().