spot  1.2.1a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Attributes | List of all members
spot::stack_of_lowlink Class Reference

#include <fasttgbaalgos/ec/lowlink_stack.hh>

Inheritance diagram for spot::stack_of_lowlink:
Inheritance graph
Collaboration diagram for spot::stack_of_lowlink:
Collaboration graph

Public Member Functions

 stack_of_lowlink (acc_dict &acc)
 
virtual ~stack_of_lowlink ()
 Clean the stack before desroying it. More...
 
virtual void push (int lowlink)
 Insert a new lowlink into the stack. More...
 
virtual int top ()
 Return the lowlink at the top of the stack. More...
 
virtual const marksettop_acceptance ()
 Modify the acceptance set at for the elemet at the top of the stack. More...
 
virtual int pop ()
 pop the element at the top of the stack More...
 
virtual void set_top (int ll, markset m)
 
virtual void set_top (int ll)
 Usefull for SCC-computation. More...
 
virtual unsigned int max_size ()
 Return the peak of this stack. More...
 
virtual unsigned int size ()
 Return the current size of the stack. More...
 

Protected Attributes

marksetempty_
 The empty markset. More...
 
unsigned int max_size_
 

Detailed Description

This class is used to store all lowlink used by Tarjan algorithm It's a wrapper for many implementations and compressions techniques

Constructor & Destructor Documentation

virtual spot::stack_of_lowlink::~stack_of_lowlink ( )
inlinevirtual

Clean the stack before desroying it.

References empty_, and pop().

Member Function Documentation

virtual unsigned int spot::stack_of_lowlink::max_size ( )
inlinevirtual

Return the peak of this stack.

Reimplemented in spot::compressed_stack_of_lowlink.

virtual int spot::stack_of_lowlink::pop ( )
inlinevirtual

pop the element at the top of the stack

Reimplemented in spot::compressed_stack_of_lowlink.

References empty_, and top().

Referenced by ~stack_of_lowlink().

virtual void spot::stack_of_lowlink::push ( int  lowlink)
inlinevirtual

Insert a new lowlink into the stack.

Reimplemented in spot::compressed_stack_of_lowlink.

References empty_.

virtual void spot::stack_of_lowlink::set_top ( int  ll,
markset  m 
)
inlinevirtual

Modify lowlink and marset for the element of the top of the stack

Reimplemented in spot::compressed_stack_of_lowlink.

References empty_.

virtual void spot::stack_of_lowlink::set_top ( int  ll)
inlinevirtual

Usefull for SCC-computation.

Reimplemented in spot::compressed_stack_of_lowlink.

virtual unsigned int spot::stack_of_lowlink::size ( )
inlinevirtual

Return the current size of the stack.

Reimplemented in spot::compressed_stack_of_lowlink.

virtual int spot::stack_of_lowlink::top ( )
inlinevirtual

Return the lowlink at the top of the stack.

Reimplemented in spot::compressed_stack_of_lowlink.

Referenced by pop().

virtual const markset& spot::stack_of_lowlink::top_acceptance ( )
inlinevirtual

Modify the acceptance set at for the elemet at the top of the stack.

Reimplemented in spot::compressed_stack_of_lowlink.

Member Data Documentation

markset* spot::stack_of_lowlink::empty_
protected

The empty markset.

Referenced by pop(), push(), set_top(), and ~stack_of_lowlink().


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 Tue Jan 21 2014 16:52:02 for spot by doxygen 1.8.5