Public Member Functions | Public Attributes

chomp::homology::psethashstat Class Reference

This is a small class used only to collect and display statistics on how successful the hashing procedures were. More...

#include <pointset.h>

List of all members.

Public Member Functions

 psethashstat ()
 The constructor.

Public Attributes

std::time_t creationtime
 A variable which stores the creation time of each object.
unsigned long hashhits
 The number of successful attempts to identify an object in a hashing table.
unsigned long hashmisses
 The number of unsuccessful attempts to identify an object in a hashing table.
unsigned long rehashcount
 The number of times the size of the hashing table was changed and all the elements had to be put in the table again.

Detailed Description

This is a small class used only to collect and display statistics on how successful the hashing procedures were.

Definition at line 411 of file pointset.h.


Constructor & Destructor Documentation

chomp::homology::psethashstat::psethashstat (  )  [inline]

The constructor.

Definition at line 436 of file pointset.h.

References creationtime, hashhits, hashmisses, and rehashcount.

{
        std::time (&creationtime);
        hashhits = 0;
        hashmisses = 0;
        rehashcount = 0;
        return;
} /* psethashstat::psethashstat */


Member Data Documentation

A variable which stores the creation time of each object.

Definition at line 418 of file pointset.h.

Referenced by psethashstat().

The number of successful attempts to identify an object in a hashing table.

Definition at line 422 of file pointset.h.

Referenced by psethashstat().

The number of unsuccessful attempts to identify an object in a hashing table.

Definition at line 426 of file pointset.h.

Referenced by psethashstat().

The number of times the size of the hashing table was changed and all the elements had to be put in the table again.

Definition at line 430 of file pointset.h.

Referenced by psethashstat().


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