A program for the cubical homology computation. More...
#include <istream>
#include <ostream>
#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 "comphom.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
The main procedure of the program. | |
Variables | |
const char * | title |
The title of the program and licensing information. | |
const char * | helpinfo |
Brief help information on the program's usage. |
A program for the cubical homology computation.
Definition in file homcub.cpp.
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 78 of file homcub.cpp.
const char* helpinfo |
"\ This program computes cubical homology groups and homology generators.\n\ The ring of coefficients is set to Z_2, the integers modulo 2.\n\ Call with:\n\ filename - the name of a file that contains a list of cubical cells,\n\ Switches and additional arguments:\n\ -dpi, -dincl, -dphi - display the computed maps: pi, incl, phi,\n\ -aN - homology algorithm: 0 = old (very slow), 1 = new without additional\n\ optimization (relatively fast), 2 = new (default), 3 = using the SNF.\n\ --verify - do additional verification of the computed maps,\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 55 of file homcub.cpp.
const char* title |
"\ Cubical homology computation with gradient vector field.\n\ Version 0.01 (Apr 4, 2011). Copyright (C) 1997-2011 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 49 of file homcub.cpp.