Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

spot::ec_statistics Class Reference
[Emptiness-check statistics]

Emptiness-check statistics. More...

#include <tgbaalgos/emptiness_stats.hh>

Inheritance diagram for spot::ec_statistics:

Inheritance graph
[legend]
Collaboration diagram for spot::ec_statistics:

Collaboration graph
[legend]
List of all members.

Public Types

typedef unsigned(unsigned_statistics::* unsigned_fun )() const
typedef std::map< const char *,
unsigned_fun, char_ptr_less_than
stats_map

Public Member Functions

 ec_statistics ()
void set_states (unsigned n)
void inc_states ()
void inc_transitions ()
void inc_depth (unsigned n=1)
void dec_depth (unsigned n=1)
unsigned states () const
unsigned transitions () const
unsigned max_depth () const
unsigned depth () const
unsigned get (const char *str) const

Public Attributes

stats_map stats

Private Attributes

unsigned states_
unsigned transitions_
 number of disctint visited states
unsigned depth_
 number of visited transitions
unsigned max_depth_
 maximal depth of the stack(s)

Detailed Description

Emptiness-check statistics.

Implementations of spot::emptiness_check may also implement this interface. Try to dynamic_cast the spot::emptiness_check pointer to know whether these statistics are available.


Member Typedef Documentation

typedef std::map<const char*, unsigned_fun, char_ptr_less_than> spot::unsigned_statistics::stats_map [inherited]
 

typedef unsigned(unsigned_statistics::* spot::unsigned_statistics::unsigned_fun)() const [inherited]
 


Constructor & Destructor Documentation

spot::ec_statistics::ec_statistics  )  [inline]
 


Member Function Documentation

void spot::ec_statistics::dec_depth unsigned  n = 1  )  [inline]
 

unsigned spot::ec_statistics::depth  )  const [inline]
 

unsigned spot::unsigned_statistics::get const char *  str  )  const [inline, inherited]
 

void spot::ec_statistics::inc_depth unsigned  n = 1  )  [inline]
 

void spot::ec_statistics::inc_states  )  [inline]
 

void spot::ec_statistics::inc_transitions  )  [inline]
 

unsigned spot::ec_statistics::max_depth  )  const [inline]
 

void spot::ec_statistics::set_states unsigned  n  )  [inline]
 

unsigned spot::ec_statistics::states  )  const [inline]
 

unsigned spot::ec_statistics::transitions  )  const [inline]
 


Member Data Documentation

unsigned spot::ec_statistics::depth_ [private]
 

number of visited transitions

unsigned spot::ec_statistics::max_depth_ [private]
 

maximal depth of the stack(s)

unsigned spot::ec_statistics::states_ [private]
 

stats_map spot::unsigned_statistics::stats [inherited]
 

unsigned spot::ec_statistics::transitions_ [private]
 

number of disctint visited states


The documentation for this class was generated from the following file:
Please comment this page and report errors about it on the RefDocComments page.
Generated on Wed Jan 25 14:56:50 2006 for spot by doxygen 1.4.0