TConnTable Class Reference

A simple class for storing connections in an array that uses the "multitable" class. More...

#include <compmdec.h>

List of all members.

Public Member Functions

 TConnTable (int _n, chomp::homology::multitable< chomp::homology::multitable< int > > &_connections, chomp::homology::multitable< int > &_conncount, const int *_numTranslate)
 The constructor.
void operator() (int source, int target, int v)
 Adds an element v at the connection from source to target.
 TConnTable (int _n, chomp::homology::multitable< chomp::homology::multitable< int > > &_connections, chomp::homology::multitable< int > &_conncount, const int *_numTranslate)
 The constructor.
void operator() (int source, int target, int v)
 Adds an element v at the connection from source to target.

Private Attributes

int n
 The number of vertices between the connections are recorded.
chomp::homology::multitable
< chomp::homology::multitable
< int > > & 
connections
 The tables of connectiong orbits; those for v -> w are stored at the index n * v + w.
chomp::homology::multitable
< int > & 
conncount
 The numbers of elements in each connecting orbit.
const int * numTranslate
 The translation table for vertex numbers in the connections.
chomp::homology::multitable
< chomp::homology::multitable
< int > > & 
connections
 The tables of connectiong orbits; those for v -> w are stored at the index n * v + w.
chomp::homology::multitable
< int > & 
conncount
 The numbers of elements in each connecting orbit.
const int * numTranslate
 The translation table for vertex numbers in the connections.


Detailed Description

A simple class for storing connections in an array that uses the "multitable" class.

Definition at line 75 of file compmdec.h.


Constructor & Destructor Documentation

TConnTable::TConnTable ( int  _n,
chomp::homology::multitable< chomp::homology::multitable< int > > &  _connections,
chomp::homology::multitable< int > &  _conncount,
const int *  _numTranslate 
) [inline]

The constructor.

Definition at line 104 of file compmdec.h.

References conncount, and n.

TConnTable::TConnTable ( int  _n,
chomp::homology::multitable< chomp::homology::multitable< int > > &  _connections,
chomp::homology::multitable< int > &  _conncount,
const int *  _numTranslate 
)

The constructor.


Member Function Documentation

void TConnTable::operator() ( int  source,
int  target,
int  v 
) [inline]

Adds an element v at the connection from source to target.

Definition at line 117 of file compmdec.h.

References conncount, connections, n, and numTranslate.

void TConnTable::operator() ( int  source,
int  target,
int  v 
)

Adds an element v at the connection from source to target.


Member Data Documentation

int TConnTable::n [private]

The number of vertices between the connections are recorded.

Definition at line 89 of file compmdec.h.

Referenced by operator()(), and TConnTable().

chomp::homology::multitable<chomp::homology::multitable<int> >& TConnTable::connections [private]

The tables of connectiong orbits; those for v -> w are stored at the index n * v + w.

Definition at line 94 of file compmdec.h.

Referenced by operator()().

chomp::homology::multitable<int>& TConnTable::conncount [private]

The numbers of elements in each connecting orbit.

Definition at line 97 of file compmdec.h.

Referenced by operator()(), and TConnTable().

const int* TConnTable::numTranslate [private]

The translation table for vertex numbers in the connections.

Definition at line 100 of file compmdec.h.

Referenced by operator()().

chomp::homology::multitable<chomp::homology::multitable<int> >& TConnTable::connections [private]

The tables of connectiong orbits; those for v -> w are stored at the index n * v + w.

Definition at line 72 of file morsecon.h.

chomp::homology::multitable<int>& TConnTable::conncount [private]

The numbers of elements in each connecting orbit.

Definition at line 75 of file morsecon.h.

const int* TConnTable::numTranslate [private]

The translation table for vertex numbers in the connections.

Definition at line 78 of file morsecon.h.


The documentation for this class was generated from the following files:
Generated on Sun Mar 28 17:47:59 2010 for The Conley-Morse Graphs Software by  doxygen 1.5.3