Public Member Functions | Static Public Attributes | Protected Member Functions

chomp::homengin::MM_CRengine Class Reference

The MM_CR engine. More...

#include <engines.h>

Inheritance diagram for chomp::homengin::MM_CRengine:
chomp::homengin::MMengine chomp::homengin::engine

List of all members.

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?
void homology (const cubfile &x, algstruct< chomp::homology::integer > &h) const
 Compute the homology of the given set 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 MM_CRengine eng
 One instance of this engine.

Protected Member Functions

 MM_CRengine ()
 The default constructor.
 ~MM_CRengine ()
 The destructor.

Detailed Description

The MM_CR engine.

Definition at line 482 of file engines.h.


Constructor & Destructor Documentation

chomp::homengin::MM_CRengine::MM_CRengine (  )  [inline, protected]

The default constructor.

Definition at line 486 of file engines.h.

        {
                return;
        }

chomp::homengin::MM_CRengine::~MM_CRengine (  )  [inline, protected]

The destructor.

Definition at line 492 of file engines.h.

        {
                return;
        }


Member Function Documentation

std::ostream& chomp::homengin::MM_CRengine::describe ( std::ostream &  out  )  const [virtual]

Describes this particular engine.

Implements chomp::homengin::MMengine.

bool chomp::homengin::MM_CRengine::dimsupported ( int  dim  )  const [inline, virtual]

Is this dimension supported by this engine?

Reimplemented from chomp::homengin::MMengine.

Definition at line 505 of file engines.h.

        {
                return ((dim == embeddingDim) || ((dim >= 2) && (dim <= 4)));
        }

void chomp::homengin::MM_CRengine::homology ( const cubfile x,
algstruct< chomp::homology::integer > &  h 
) const [virtual]

Compute the homology of the given set of cubes.

Implements chomp::homengin::MMengine.

const char* chomp::homengin::MM_CRengine::name (  )  const [inline, virtual]

The name of the engine to be used in the command line.

Implements chomp::homengin::MMengine.

Definition at line 515 of file engines.h.

        {
                return "MM_CR";
        }

int chomp::homengin::MM_CRengine::speed (  )  const [inline, virtual]

The speed of the engine: The higher the number, the better.

Implements chomp::homengin::MMengine.

Definition at line 499 of file engines.h.

        {
                return 5000;
        }


Member Data Documentation

One instance of this engine.

Definition at line 524 of file engines.h.


The documentation for this class was generated from the following file: