The Original CHomP Software
|
The homology engine that uses lists of cubes (Pawel Pilarczyk). More...
#include <engines.h>
Public Member Functions | |
int | speed () const |
The speed of the engine: The higher the number, the better. More... | |
bool | dimsupported (int dim) const |
Is this dimension supported by this engine? More... | |
int | memory (const cubfile &X) const |
Rough memory usage estimate for a single set of cubes. More... | |
bool | relative () const |
Does this engine compute relative homology? More... | |
bool | elementary () const |
Is this engine capable of processing elementary cubes? More... | |
bool | spacewrapping () const |
Does this engine support space wrapping? More... | |
void | homology (const cubfile &x, algstruct< chomp::homology::integer > &h) const |
Compute the homology of the given set of cubes. More... | |
void | homology (const cubfile &x, const cubfile &y, algstruct< chomp::homology::integer > &h) const |
Compute the relative homology of the given pair of sets of cubes. More... | |
const char * | name () const |
The name of the engine to be used in the command line. More... | |
std::ostream & | describe (std::ostream &out) const |
Describes this particular engine. More... | |
virtual int | speed () const |
The speed of the engine: The higher the number, the better. More... | |
virtual bool | dimsupported (int dim) const |
Is this dimension supported by this engine? More... | |
virtual int | memory (const cubfile &X) const |
Rough memory usage estimate for a single set of cubes. More... | |
virtual bool | relative () const |
Does this engine compute relative homology? More... | |
virtual bool | elementary () const |
Is this engine capable of processing elementary cubes? More... | |
virtual bool | spacewrapping () const |
Does this engine support space wrapping? More... | |
virtual void | homology (const cubfile &x, algstruct< chomp::homology::integer > &h) const |
Compute the homology of the given set of cubes. More... | |
virtual void | homology (const cubfile &x, const cubfile &y, algstruct< chomp::homology::integer > &h) const |
Compute the relative homology of the given pair of sets of cubes. More... | |
virtual const char * | name () const |
The name of the engine to be used in the command line. More... | |
virtual std::ostream & | describe (std::ostream &out) const |
Describes this particular engine. More... | |
Static Public Attributes | |
static PPengine | eng |
One instance of this engine. More... | |
![]() | |
static enginelist | engines |
A list of all the engines that have been defined so far. More... | |
Protected Member Functions | |
PPengine () | |
The default constructor. More... | |
~PPengine () | |
The destructor. More... | |
![]() | |
engine () | |
The default constructor: Add the engine to the list. More... | |
virtual | ~engine () |
The destructor: Remove the engine from the list. More... | |
Additional Inherited Members | |
![]() | |
typedef std::vector< const engine * > | enginelist |
The type of a list of engines. More... | |
![]() | |
static std::ostream & | showlist (std::ostream &out, const engine::enginelist &elist=engine::engines) |
Shows a list of available homology engines with descriptions. More... | |
static const engine * | find (const cubfile *X, const cubfile *Y, const engine::enginelist &elist=engine::engines) |
Finds the most appropriate homology engine. More... | |
static const engine * | find (const cubfile *X, const engine::enginelist &elist=engine::engines) |
Finds the most appropriate homology engine for just one set. More... | |
static const engine * | find (const char *name, const engine::enginelist &elist=engine::engines) |
Finds a homology engine with the given name. More... | |
The homology engine that uses lists of cubes (Pawel Pilarczyk).
|
inlineprotected |
|
inlineprotected |
|
virtual |
Describes this particular engine.
Reimplemented from chomp::homengin::engine.
|
inlinevirtual |
Is this dimension supported by this engine?
Reimplemented from chomp::homengin::engine.
Definition at line 224 of file engines.h.
References chomp::homology::tCubeBase< coordtype >::MaxDim.
|
inlinevirtual |
Is this engine capable of processing elementary cubes?
Reimplemented from chomp::homengin::engine.
Definition at line 240 of file engines.h.
|
virtual |
Compute the homology of the given set of cubes.
Reimplemented from chomp::homengin::engine.
|
virtual |
Compute the relative homology of the given pair of sets of cubes.
Reimplemented from chomp::homengin::engine.
|
virtual |
Rough memory usage estimate for a single set of cubes.
Returns 0 if unknown, -1 if not enough memory.
Reimplemented from chomp::homengin::engine.
|
inlinevirtual |
The name of the engine to be used in the command line.
Reimplemented from chomp::homengin::engine.
Definition at line 260 of file engines.h.
|
inlinevirtual |
Does this engine compute relative homology?
Reimplemented from chomp::homengin::engine.
Definition at line 234 of file engines.h.
|
inlinevirtual |
Does this engine support space wrapping?
Reimplemented from chomp::homengin::engine.
Definition at line 246 of file engines.h.
|
inlinevirtual |
The speed of the engine: The higher the number, the better.
Reimplemented from chomp::homengin::engine.
Definition at line 218 of file engines.h.
|
static |