The Conley-Morse Graphs Software
Public Member Functions | Private Attributes | List of all members
TConnTable Class Reference

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

#include <compmdec.h>

Public Member Functions

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

Private Attributes

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

Detailed Description

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

Definition at line 83 of file compmdec.h.

Constructor & Destructor Documentation

◆ TConnTable()

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

The constructor.

Definition at line 112 of file compmdec.h.

References conncount, and n.

Member Function Documentation

◆ operator()()

void TConnTable::operator() ( int_t  source,
int_t  target,
int_t  v 
)
inline

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

Definition at line 125 of file compmdec.h.

References conncount, connections, n, and numTranslate.

Member Data Documentation

◆ conncount

chomp::homology::multitable<int_t>& TConnTable::conncount
private

The numbers of elements in each connecting orbit.

Definition at line 105 of file compmdec.h.

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

◆ connections

chomp::homology::multitable<chomp::homology::multitable<int_t> >& TConnTable::connections
private

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

Definition at line 102 of file compmdec.h.

Referenced by operator()().

◆ n

int_t TConnTable::n
private

The number of vertices between the connections are recorded.

Definition at line 97 of file compmdec.h.

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

◆ numTranslate

const int_t* TConnTable::numTranslate
private

The translation table for vertex numbers in the connections.

Definition at line 108 of file compmdec.h.

Referenced by operator()().


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