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. | |
| bool | dimsupported (int dim) const |
| Is this dimension supported by this engine? | |
| int | memory (const cubfile &X) const |
| Rough memory usage estimate for a single set of cubes. | |
| bool | relative () const |
| Does this engine compute relative homology? | |
| bool | elementary () const |
| Is this engine capable of processing elementary cubes? | |
| bool | spacewrapping () const |
| Does this engine support space wrapping? | |
| void | homology (const cubfile &x, algstruct< chomp::homology::integer > &h) const |
| Compute the homology of the given set of cubes. | |
| 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. | |
| const char * | name () const |
| The name of the engine to be used in the command line. | |
| std::ostream & | describe (std::ostream &out) const |
| Describes this particular engine. | |
Static Public Attributes | |
| static PPengine | eng |
| One instance of this engine. | |
Protected Member Functions | |
| PPengine () | |
| The default constructor. | |
| ~PPengine () | |
| The destructor. | |
The homology engine that uses lists of cubes (Pawel Pilarczyk).
Definition at line 202 of file engines.h.
| chomp::homengin::PPengine::PPengine | ( | ) | [inline, protected] |
| chomp::homengin::PPengine::~PPengine | ( | ) | [inline, protected] |
| std::ostream& chomp::homengin::PPengine::describe | ( | std::ostream & | out | ) | const [virtual] |
Describes this particular engine.
Reimplemented from chomp::homengin::engine.
| bool chomp::homengin::PPengine::dimsupported | ( | int | dim | ) | const [inline, virtual] |
Is this dimension supported by this engine?
Reimplemented from chomp::homengin::engine.
Definition at line 225 of file engines.h.
References chomp::homology::tCubeBase< coordtype >::MaxDim.
{
return (dim > 0) && (dim <= chomp::homology::Cube::MaxDim);
}
| bool chomp::homengin::PPengine::elementary | ( | ) | const [inline, virtual] |
Is this engine capable of processing elementary cubes?
Reimplemented from chomp::homengin::engine.
Definition at line 241 of file engines.h.
{
return true;
}
| void chomp::homengin::PPengine::homology | ( | const cubfile & | x, | |
| const cubfile & | y, | |||
| algstruct< chomp::homology::integer > & | h | |||
| ) | const [virtual] |
Compute the relative homology of the given pair of sets of cubes.
Reimplemented from chomp::homengin::engine.
| void chomp::homengin::PPengine::homology | ( | const cubfile & | x, | |
| algstruct< chomp::homology::integer > & | h | |||
| ) | const [virtual] |
Compute the homology of the given set of cubes.
Reimplemented from chomp::homengin::engine.
| int chomp::homengin::PPengine::memory | ( | const cubfile & | X | ) | const [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.
| const char* chomp::homengin::PPengine::name | ( | ) | const [inline, virtual] |
The name of the engine to be used in the command line.
Reimplemented from chomp::homengin::engine.
Definition at line 261 of file engines.h.
{
return "PP";
}
| bool chomp::homengin::PPengine::relative | ( | ) | const [inline, virtual] |
Does this engine compute relative homology?
Reimplemented from chomp::homengin::engine.
Definition at line 235 of file engines.h.
{
return true;
}
| bool chomp::homengin::PPengine::spacewrapping | ( | ) | const [inline, virtual] |
Does this engine support space wrapping?
Reimplemented from chomp::homengin::engine.
Definition at line 247 of file engines.h.
{
return true;
}
| int chomp::homengin::PPengine::speed | ( | ) | const [inline, virtual] |
The speed of the engine: The higher the number, the better.
Reimplemented from chomp::homengin::engine.
Definition at line 219 of file engines.h.
{
return 100;
}
PPengine chomp::homengin::PPengine::eng [static] |
1.7.1