|
spot 2.16
|
Swarmed variant of the CNDFS parallel emptiness-check algorithm. More...
#include <spot/mc/cndfs.hh>
Public Types | |
| using | shared_map = brick::hashset::FastConcurrent< product_state, state_hasher > |
| Concurrent hashset for shared state storage. | |
| using | shared_struct = shared_map |
| Type alias for shared structure. | |
Public Member Functions | |
| swarmed_cndfs (kripkecube< State, SuccIterator > &sys, twacube_ptr twa, shared_map &map, shared_struct *, unsigned tid, std::atomic< bool > &stop) | |
| Constructor for parallel CNDFS algorithm. | |
| void | run () |
| Run the algorithm. | |
| void | setup () |
| Setup thread resources. | |
| std::pair< bool, product_state > | push_blue (product_state s, bool from_accepting) |
| Push state to blue stack. | |
| std::pair< bool, product_state > | push_red (product_state s, bool ignore_cyan) |
| Push state to red stack. | |
| bool | pop_blue () |
| Pop state from blue stack. | |
| bool | pop_red () |
| Pop state from red stack. | |
| void | finalize () |
| Finalize thread resources. | |
| bool | finisher () |
| Check if this thread finished the search. | |
| unsigned | states () |
| Return number of states visited. | |
| unsigned | transitions () |
| Return number of transitions traversed. | |
| unsigned | walltime () |
| Return wall time in milliseconds. | |
| std::string | name () |
| Return algorithm name. | |
| int | sccs () |
| Return number of SCCs found (returns -1) | |
| mc_rvalue | result () |
| Return emptiness check result. | |
| std::string | trace () |
| Return trace. | |
Static Public Member Functions | |
| static shared_struct * | make_shared_structure (shared_map m, unsigned i) |
| Create shared structure for thread tid. | |
Swarmed variant of the CNDFS parallel emptiness-check algorithm.
| using spot::swarmed_cndfs< State, SuccIterator, StateHash, StateEqual >::shared_map = brick::hashset::FastConcurrent <product_state, state_hasher> |
Concurrent hashset for shared state storage.
| using spot::swarmed_cndfs< State, SuccIterator, StateHash, StateEqual >::shared_struct = shared_map |
Type alias for shared structure.
|
inline |
Constructor for parallel CNDFS algorithm.
|
inline |
Finalize thread resources.
|
inline |
Check if this thread finished the search.
|
inlinestatic |
Create shared structure for thread tid.
|
inline |
Return algorithm name.
|
inline |
Pop state from blue stack.
|
inline |
Pop state from red stack.
|
inline |
Push state to blue stack.
|
inline |
Push state to red stack.
|
inline |
Return emptiness check result.
|
inline |
Run the algorithm.
|
inline |
Return number of SCCs found (returns -1)
|
inline |
Setup thread resources.
|
inline |
Return number of states visited.
|
inline |
Return trace.
|
inline |
Return number of transitions traversed.
|
inline |
Return wall time in milliseconds.
1.9.8