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

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

#include <compmdec.h>

Public Member Functions

 TConnMorse (theMorseDecompositionType &_morseDec, const std::vector< int > &_setNumbers, const spcCubes &spcX, 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

theMorseDecompositionTypemorseDec
 The Morse decomposition in which to record the connections. More...
 
const std::vector< int > & setNumbers
 The numbers of Morse sets in the Morse decomposition that correspond to their indices given by source and target. More...
 
const spcCubesX
 The set which contains cubes to add. 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 136 of file compmdec.h.

Constructor & Destructor Documentation

◆ TConnMorse()

TConnMorse::TConnMorse ( theMorseDecompositionType _morseDec,
const std::vector< int > &  _setNumbers,
const spcCubes spcX,
const int_t *  _numTranslate 
)
inline

The constructor.

Definition at line 163 of file compmdec.h.

Member Function Documentation

◆ operator()()

void TConnMorse::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 171 of file compmdec.h.

References morseDec, numTranslate, setNumbers, and X.

Member Data Documentation

◆ morseDec

theMorseDecompositionType& TConnMorse::morseDec
private

The Morse decomposition in which to record the connections.

Definition at line 149 of file compmdec.h.

Referenced by operator()().

◆ numTranslate

const int_t* TConnMorse::numTranslate
private

The translation table for vertex numbers in the connections.

Definition at line 159 of file compmdec.h.

Referenced by operator()().

◆ setNumbers

const std::vector<int>& TConnMorse::setNumbers
private

The numbers of Morse sets in the Morse decomposition that correspond to their indices given by source and target.

Definition at line 153 of file compmdec.h.

Referenced by operator()().

◆ X

const spcCubes& TConnMorse::X
private

The set which contains cubes to add.

Definition at line 156 of file compmdec.h.

Referenced by operator()().


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