Tree Compression with Top Trees Revisited
Public Member Functions | Public Attributes | List of all members
Statistics Struct Reference

A statistics aggregator. More...

#include <Statistics.h>

Collaboration diagram for Statistics:
Collaboration graph
[legend]

Public Member Functions

 Statistics (const std::string &edgeRatioFilename="", const std::string &debugInfoFilename="")
 
 ~Statistics ()
 
void addDebugInfo (const DebugInfo &info)
 add a debug info object More...
 
void compute ()
 
void dump (std::ostream &os) const
 

Public Attributes

DebugInfo min
 
DebugInfo max
 
DebugInfo avg
 
std::ofstream out
 
uint numDebugInfos
 

Detailed Description

A statistics aggregator.

Definition at line 244 of file Statistics.h.

Constructor & Destructor Documentation

Statistics::Statistics ( const std::string &  edgeRatioFilename = "",
const std::string &  debugInfoFilename = "" 
)
inline

Definition at line 245 of file Statistics.h.

Statistics::~Statistics ( )
inline

Definition at line 255 of file Statistics.h.

Member Function Documentation

void Statistics::addDebugInfo ( const DebugInfo info)
inline

add a debug info object

Definition at line 260 of file Statistics.h.

void Statistics::compute ( )
inline

Definition at line 274 of file Statistics.h.

void Statistics::dump ( std::ostream &  os) const
inline

Definition at line 278 of file Statistics.h.

Member Data Documentation

DebugInfo Statistics::avg

Definition at line 308 of file Statistics.h.

DebugInfo Statistics::max

Definition at line 308 of file Statistics.h.

DebugInfo Statistics::min

Definition at line 308 of file Statistics.h.

uint Statistics::numDebugInfos

Definition at line 310 of file Statistics.h.

std::ofstream Statistics::out

Definition at line 309 of file Statistics.h.


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