Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

Optimizer Class Reference

The base class of objects which let you optimize moves, pushes etc. More...

#include <optimizer.h>

Inheritance diagram for Optimizer::

MoveOptimizer PushOptimizer List of all members.

Public Methods

virtual ~Optimizer ()
virtual void optimize (Map const &map, Movements const &moves)=0
virtual Movements const & moves () const=0
virtual int numberOfMoves () const=0
virtual int numberOfPushes () const=0

Detailed Description

The base class of objects which let you optimize moves, pushes etc.

Author:
Ralf Schmelter (ralfs@pc2a.chemie.uni-dortmund.de).
Version:
0.1
See also:
Move


Constructor & Destructor Documentation

virtual Optimizer::~Optimizer [virtual]
 

The virtual destructor.


Member Function Documentation

virtual Movements const& Optimizer::moves const [pure virtual]
 

Returns the optimized moves.

Note that the moves are not atomic, but as compact as possible.

Reimplemented in MoveOptimizer, and PushOptimizer.

virtual int Optimizer::numberOfMoves const [pure virtual]
 

Returns the optimized number of atomic moves.

Reimplemented in MoveOptimizer, and PushOptimizer.

virtual int Optimizer::numberOfPushes const [pure virtual]
 

Returns the optimized number of atomic pushes.

Reimplemented in MoveOptimizer, and PushOptimizer.

virtual void Optimizer::optimize Map const & map,
Movements const & moves
[pure virtual]
 

Optimizes the moves of the given map.

Parameters:
map   The start map of the moves.
moves   The moves to optimize.

Reimplemented in MoveOptimizer, and PushOptimizer.


The documentation for this class was generated from the following file:
Generated at Sun Jan 6 18:49:12 2002 for EasySok by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001