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/timeused.h"
#include "chomp/system/textfile.h"
#include "chomp/struct/hashsets.h"
#include "chaincon/comblinmap.h"
#include "chaincon/filtcomplex.h"
#include "chaincon/homgvf.h"
Go to the source code of this file.
Functions | |
template<class CellT > | |
void | computeHomology (const char *filename, chomp::homology::hashedset< CellT > &H, tCombLinMap< CellT, CellT > &pi, tCombLinMap< CellT, CellT > &incl, tCombLinMap< CellT, CellT > &phi, bool displayPi, bool displayIncl, bool displayPhi, bool verify, int algorithmVersion) |
Computes the homology of a cellular complex. |
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.
Definition in file comphom.h.
void computeHomology | ( | const char * | filename, |
chomp::homology::hashedset< CellT > & | H, | ||
tCombLinMap< CellT, CellT > & | pi, | ||
tCombLinMap< CellT, CellT > & | incl, | ||
tCombLinMap< CellT, CellT > & | phi, | ||
bool | displayPi, | ||
bool | displayIncl, | ||
bool | displayPhi, | ||
bool | verify, | ||
int | algorithmVersion | ||
) |
Computes 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. If requested, the homology is only computed, without AW diagonal.
Definition at line 61 of file comphom.h.
References addBoundaries(), addIdentity(), computeBoundaryMap(), and homologyGVF().