Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Class Members | File Members

OrArchiveStatistic Class Reference

#include <ArchiveStatistic.h>

Inheritance diagram for OrArchiveStatistic:

ArchiveStatistic List of all members.

Public Member Functions

 OrArchiveStatistic (unsigned int *fNeurCount, unsigned int *fNeurTotal, unsigned int fNeurID, unsigned int sNeurID)
void recalculate ()
QString toQString ()
 ~OrArchiveStatistic ()

Private Member Functions

OrArchiveStatistic operator= (const OrArchiveStatistic &)
 OrArchiveStatistic (const OrArchiveStatistic &)

Private Attributes

unsigned int firstNeuronID
unsigned int secondNeuronID

Detailed Description

Totals up the number of times that either one or the other neuron id occurs. Note that if both occur, the count will only be increased by one.

Definition at line 211 of file ArchiveStatistic.h.


Constructor & Destructor Documentation

OrArchiveStatistic::OrArchiveStatistic unsigned int *  fNeurCount,
unsigned int *  fNeurTotal,
unsigned int  fNeurID,
unsigned int  sNeurID
 

Constructor.

Definition at line 245 of file ArchiveStatistic.cpp.

References firstNeuronID, and secondNeuronID.

OrArchiveStatistic::~OrArchiveStatistic  ) 
 

Destructor.

Definition at line 252 of file ArchiveStatistic.cpp.

OrArchiveStatistic::OrArchiveStatistic const OrArchiveStatistic  )  [private]
 

Declare copy constructor private so it cannot be used inadvertently.


Member Function Documentation

OrArchiveStatistic OrArchiveStatistic::operator= const OrArchiveStatistic  )  [private]
 

Declare assignment private so it cannot be used inadvertently.

void OrArchiveStatistic::recalculate  )  [virtual]
 

Examines the hash map to see if the first or second neuron IDs are present.

Reimplemented from ArchiveStatistic.

Definition at line 260 of file ArchiveStatistic.cpp.

References ArchiveStatistic::firingNeuronCount, ArchiveStatistic::firingNeuronTotal, firstNeuronID, ArchiveStatistic::neuronIDHashMap, and secondNeuronID.

QString OrArchiveStatistic::toQString  )  [virtual]
 

Outputs a string that would have been used to create this class.

Implements ArchiveStatistic.

Definition at line 272 of file ArchiveStatistic.cpp.

References firstNeuronID, and secondNeuronID.


Member Data Documentation

unsigned int OrArchiveStatistic::firstNeuronID [private]
 

The first neuron id.

Definition at line 223 of file ArchiveStatistic.h.

Referenced by OrArchiveStatistic(), recalculate(), and toQString().

unsigned int OrArchiveStatistic::secondNeuronID [private]
 

The second neuron id.

Definition at line 226 of file ArchiveStatistic.h.

Referenced by OrArchiveStatistic(), recalculate(), and toQString().


The documentation for this class was generated from the following files:
Generated on Mon Sep 3 22:29:05 2007 for SpikeStream Application by  doxygen 1.4.4