spot  2.11.6
Classes | Public Types | Public Member Functions | List of all members
spot::iterable_uf< State, StateHash, StateEqual > Class Template Reference
Collaboration diagram for spot::iterable_uf< State, StateHash, StateEqual >:

Classes

struct  uf_element
 Represents a Union-Find element. More...
 
struct  uf_element_hasher
 The haser for the previous uf_element. Shortcut to ease shared map manipulation. More...
 

Public Types

enum class  uf_status { LIVE , LOCK , DEAD }
 
enum class  list_status { BUSY , LOCK , DONE }
 
enum class  claim_status { CLAIM_FOUND , CLAIM_NEW , CLAIM_DEAD }
 
using shared_map = brick::hashset::FastConcurrent< uf_element *, uf_element_hasher >
 

Public Member Functions

 iterable_uf (const iterable_uf< State, StateHash, StateEqual > &uf)
 
 iterable_uf (shared_map &map, unsigned tid)
 
std::pair< claim_status, uf_element * > make_claim (State a)
 
uf_elementfind (uf_element *a)
 
bool sameset (uf_element *a, uf_element *b)
 
bool lock_root (uf_element *a)
 
void unlock_root (uf_element *a)
 
uf_elementlock_list (uf_element *a)
 
void unlock_list (uf_element *a)
 
void unite (uf_element *a, uf_element *b)
 
uf_elementpick_from_list (uf_element *u, bool *sccfound)
 
void remove_from_list (uf_element *a)
 
unsigned inserted ()
 

The documentation for this class was generated from the following file:

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Fri Feb 27 2015 10:00:07 for spot by doxygen 1.9.1