#include <optimizer.h>
Inheritance diagram for Optimizer::
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 |
|
The virtual destructor.
|
|
Returns the optimized moves. Note that the moves are not atomic, but as compact as possible. Reimplemented in MoveOptimizer, and PushOptimizer. |
|
Returns the optimized number of atomic moves.
Reimplemented in MoveOptimizer, and PushOptimizer. |
|
Returns the optimized number of atomic pushes.
Reimplemented in MoveOptimizer, and PushOptimizer. |
|
Optimizes the moves of the given map.
Reimplemented in MoveOptimizer, and PushOptimizer. |