Knight-Path 1.0.D018

/home/archives/knight-path/branch.1/branch.0/delta5682.018/knight-path/solver/maze.h

Go to the documentation of this file.
00001 //
00002 // knight-path - shortest knight path between two squares
00003 // Copyright (C) 2011 Peter Miller
00004 //
00005 // This program is free software; you can redistribute it and/or modify
00006 // it under the terms of the GNU General Public License as published by
00007 // the Free Software Foundation; either version 3 of the License, or (at
00008 // your option) any later version.
00009 //
00010 // This program is distributed in the hope that it will be useful,
00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 // General Public License for more details.
00014 //
00015 // You should have received a copy of the GNU General Public License along
00016 // with this program. If not, see <http://www.gnu.org/licenses/>.
00017 //
00018 
00019 #ifndef KNIGHT_PATH_SOLVER_MAZE_H
00020 #define KNIGHT_PATH_SOLVER_MAZE_H
00021 
00022 #include <knight-path/solver.h>
00023 
00049 class solver_maze:
00050     public solver
00051 {
00052 public:
00056     virtual ~solver_maze();
00057 
00063     static pointer create(void);
00064 
00065     // See base class for documentation.
00066     list_t solve(const position &from, const position &to);
00067 
00068 private:
00073     solver_maze();
00074 
00081     solver_maze(const solver_maze &rhs);
00082 
00089     solver_maze &operator=(const solver_maze &rhs);
00090 };
00091 
00092 #endif // KNIGHT_PATH_SOLVER_MAZE_H