spot 2.16
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Public Attributes | List of all members

Stack of strongly connected components for the Tarjan-Couvreur emptiness-check algorithm. More...

#include <spot/twaalgos/gtec/sccstack.hh>

Collaboration diagram for spot::scc_stack:

Classes

struct  connected_component
 A strongly connected component with its index, accumulated acceptance marks, and remaining states. More...
 

Public Types

typedef std::list< connected_componentstack_type
 SCC stack type.
 

Public Member Functions

void push (int index)
 Stack a new SCC with index index.
 
connected_componenttop ()
 Access the top SCC.
 
const connected_componenttop () const
 Access the top SCC.
 
void pop ()
 Pop the top SCC.
 
size_t size () const
 How many SCC are in stack.
 
std::list< const state * > & rem ()
 The rem member of the top SCC.
 
unsigned clear_rem ()
 
bool empty () const
 Is the stack empty?
 

Public Attributes

stack_type s
 The underlying SCC stack storage.
 

Detailed Description

Stack of strongly connected components for the Tarjan-Couvreur emptiness-check algorithm.

Member Typedef Documentation

◆ stack_type

SCC stack type.

Member Function Documentation

◆ clear_rem()

unsigned spot::scc_stack::clear_rem ( )

Purge all rem members.

Returns
the number of elements cleared.

◆ empty()

bool spot::scc_stack::empty ( ) const

Is the stack empty?

◆ pop()

void spot::scc_stack::pop ( )

Pop the top SCC.

◆ push()

void spot::scc_stack::push ( int  index)

Stack a new SCC with index index.

◆ rem()

std::list< const state * > & spot::scc_stack::rem ( )

The rem member of the top SCC.

◆ size()

size_t spot::scc_stack::size ( ) const

How many SCC are in stack.

◆ top() [1/2]

connected_component & spot::scc_stack::top ( )

Access the top SCC.

◆ top() [2/2]

const connected_component & spot::scc_stack::top ( ) const

Access the top SCC.

Member Data Documentation

◆ s

stack_type spot::scc_stack::s

The underlying SCC stack storage.


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.8