The ChainCon Software (Release 0.03)
Functions | Variables
experiment2.cpp File Reference

A program for experimentation with the formulas for the E-Z chain contraction: AW, EML, SHI. More...

#include <istream>
#include <ostream>
#include <string>
#include "chaincon/stringhash.h"
#include "chomp/system/config.h"
#include "chomp/system/textfile.h"
#include "chomp/system/timeused.h"
#include "chomp/system/arg.h"
#include "chomp/struct/hashsets.h"
#include "chaincon/cubcell.h"
#include "chaincon/awdiagcub.h"
#include "chaincon/simplex.h"
#include "chaincon/awdiagsim.h"
#include "chaincon/emptycell.h"
#include "chaincon/chain.h"
#include "chaincon/linmap.h"
#include "chaincon/comblinmap.h"
#include "chaincon/ringzp.h"
#include "chaincon/cellnames.h"
#include "chaincon/awdiag.h"
#include "chaincon/boundary.h"
#include "chaincon/ez_aw.h"
#include "chaincon/ez_eml.h"
#include "chaincon/ez_shi.h"

Go to the source code of this file.

Functions

template<class CellT , class CoefT >
void experiment (const char *Xname)
 Runs the experimental calculations. More...
 
int main (int argc, char *argv [])
 The main procedure of the program. More...
 

Variables

const char * title
 The title of the program and licensing information. More...
 
const char * helpinfo
 Brief help information on the program's usage. More...
 

Detailed Description

A program for experimentation with the formulas for the E-Z chain contraction: AW, EML, SHI.

Definition in file experiment2.cpp.

Function Documentation

◆ experiment()

template<class CellT , class CoefT >
void experiment ( const char *  Xname)
inline

Runs the experimental calculations.

Definition at line 105 of file experiment2.cpp.

References computeBoundary(), EZ_AW(), EZ_EML(), and EZ_SHI().

◆ main()

int main ( int  argc,
char *  argv[] 
)

The main procedure of the program.

Returns: 0 = Ok, -1 = Error, 1 = Help displayed, 2 = Wrong arguments.

Definition at line 263 of file experiment2.cpp.

References helpinfo, and title.

Variable Documentation

◆ helpinfo

const char* helpinfo
Initial value:
= "\
This program does some computations to experiment with the Eilenberg-Zilber\n\
chain contraction.\n\
The ring of coefficients is Z or Z_p (the integers modulo prime number p).\n\
Call with:\n\
filename - the name of a file that contains a list of cells for the test,\n\
Switches and additional arguments:\n\
-pN - selection of the coefficients: p=0 for Z, p=1 unsupported in this\n\
\tprogram, p > 1 for Z_p (default: p=2); please, use p <= 181,\n\
-r - compute reduced homology (with the empty set as a cell of dim -1),\n\
--log filename - save the output to a file (without progress indicators),\n\
--quiet - suppress data output to the screen (whcih can be still logged),\n\
--help - display this brief help information only and exit.\n\
For more information please consult the accompanying documentation\n\
or ask the program's author at http://www.PawelPilarczyk.com/."

Brief help information on the program's usage.

Definition at line 82 of file experiment2.cpp.

Referenced by main().

◆ title

const char* title
Initial value:
= "\
Experimentation with the formulas for the E-Z chain contraction.\n\
Version 0.00 (Dec 4, 2014). Copyright (C) 1997-2016 by Pawel Pilarczyk.\n\
This is free software. No warranty. Consult 'license.txt' for details."

The title of the program and licensing information.

Definition at line 76 of file experiment2.cpp.

Referenced by main().