29 #ifndef _CHAINCON_READFCOMPL_H_    30 #define _CHAINCON_READFCOMPL_H_    38 #include "chomp/system/config.h"    39 #include "chomp/system/textfile.h"    40 #include "chomp/system/timeused.h"    55 template <
class CellT>
    58         bool addBoundariesX, 
bool addBoundariesA)
    60         using chomp::homology::sout;
    64                 sout << 
"Reading '" << Xname << 
"'... ";
    65                 std::ifstream in (Xname);
    67                         chomp::homology::fileerror (Xname);
    70                 sout << K. size () << 
" cells read.\n";
    77                 sout << 
"Reading '" << Aname << 
"'... ";
    78                 std::ifstream in (Aname);
    80                         chomp::homology::fileerror (Aname);
    83                 sout << L. size () << 
" cells read.\n";
    92                         sout << 
"Adding boundaries to '" << Aname << 
"'... ";
    94                         sout << L. size () << 
" cells total.\n";
    98                         sout << 
"NOT adding boundaries to '" << Aname <<
   100                         sout << 
"Note: All the relevant boundaries of cells "   101                                 "are assumed to be present already.\n";
   108                 int_t prev_size = K. size ();
   109                 sout << 
"Making the filters disjoint... ";
   111                 sout << (K. size () - prev_size) << 
" cells removed.\n";
   117                 sout << 
"Adding boundaries to '" << Xname << 
"'... ";
   127                 sout << K. size () << 
" cells total.\n";
   131                 sout << 
"NOT adding boundaries to '" << Xname << 
"'.\n";
   132                 sout << 
"Note: All the relevant boundaries of cells "   133                                 "are assumed to be present already.\n";
   142 #endif // _CHAINCON_READFCOMPL_H_ Boundary computation at the level of chains of cells. 
 
void removeOrdered(Vector1T &K, const Vector2T &L)
From the given set of objects, removes another one in such a way that the order of objects in the fir...
 
A template of a simple class for negating the cell restriction given by another object for the bounda...
 
void readFilteredComplexes(const char *Xname, const char *Aname, tFilteredComplex< CellT > &K, tFilteredComplex< CellT > &L, bool addBoundariesX, bool addBoundariesA)
Reads a filtered cell complex or a pair of filtered cell complexes from text files. 
 
void addBoundaries(tFilteredComplex< CellT > &K, const CellRestrT &restr)
Adds boundaries to all the cells in the given filtered complex. 
 
A template of a simple class for unrestricted cell selection in the boundary computation procedures...
 
A utility procedure for removing an ordered set from another ordered set.