Public Member Functions | Static Public Attributes | Protected Member Functions

chomp::homengin::MM_ARengine Class Reference

The MM_AR engine. More...

#include <engines.h>

Inheritance diagram for chomp::homengin::MM_ARengine:
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_ARengine eng
 One instance of this engine.

Protected Member Functions

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

Detailed Description

The MM_AR engine.

Definition at line 534 of file engines.h.


Constructor & Destructor Documentation

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

The default constructor.

Definition at line 538 of file engines.h.

        {
                return;
        }

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

The destructor.

Definition at line 544 of file engines.h.

        {
                return;
        }


Member Function Documentation

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

Describes this particular engine.

Implements chomp::homengin::MMengine.

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

Is this dimension supported by this engine?

Reimplemented from chomp::homengin::MMengine.

Definition at line 557 of file engines.h.

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

void chomp::homengin::MM_ARengine::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_ARengine::name (  )  const [inline, virtual]

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

Implements chomp::homengin::MMengine.

Definition at line 567 of file engines.h.

        {
                return "MM_AR";
        }

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

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

Implements chomp::homengin::MMengine.

Definition at line 551 of file engines.h.

        {
                return 70;
        }


Member Data Documentation

One instance of this engine.

Definition at line 576 of file engines.h.


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