The ChainCon Software (Release 0.03)
Functions
atmodcomp.h File Reference

A generic procedure for the computation of chain contraction of a filtered cell complex stored in a file. More...

#include <istream>
#include <ostream>
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/system/timeused.h"
#include "chomp/struct/hashsets.h"
#include "chaincon/cellnames.h"
#include "chaincon/filtcomplex.h"
#include "chaincon/readfcompl.h"
#include "chaincon/boundary.h"
#include "chaincon/atmodel.h"
#include "chaincon/homcohom.h"

Go to the source code of this file.

Functions

template<class CellT , class LinMap , class CellNames >
void computeAlgTopModel (const tFilteredComplex< CellT > &K, bool relativeComplex, chomp::homology::hashedset< CellT > &H, LinMap &pi, LinMap &incl, LinMap &phi, CellNames &cellNames, bool displayPi, bool displayIncl, bool displayPhi, bool displayRepr, bool verify, int algorithmVersion)
 Computes an AT model and the homology of a cellular complex. More...
 

Detailed Description

A generic procedure for the computation of chain contraction of a filtered cell complex stored in a file.

This is a complete procedure good for simplicial, cubical, or other complexes. It computes an algebraic topological model. This computation fails if homology is not torsion-free.

Definition in file atmodcomp.h.

Function Documentation

◆ computeAlgTopModel()

template<class CellT , class LinMap , class CellNames >
void computeAlgTopModel ( const tFilteredComplex< CellT > &  K,
bool  relativeComplex,
chomp::homology::hashedset< CellT > &  H,
LinMap &  pi,
LinMap &  incl,
LinMap &  phi,
CellNames &  cellNames,
bool  displayPi,
bool  displayIncl,
bool  displayPhi,
bool  displayRepr,
bool  verify,
int  algorithmVersion 
)
inline

Computes an AT model and the homology of a cellular complex.

The cellular complex is read from the given file. Only top-dimensional cells should be listed in the file, or otherwise the filtration may not be generated correctly.

Definition at line 65 of file atmodcomp.h.

References addIdentity(), algTopModel(), cells2names(), computeBoundaryMap(), getHomCohom(), and homcohom2text().

Referenced by atModelMain(), awdiag2dMain(), computeSteenrodSquares(), and main().