/usr/include/osl/game_playing/alphaBetaPlayer.h is in libosl-dev 0.6.0-3.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | /* alphaBetaPlayer.h
*/
#ifndef GAMEPLAYING_ALPHABETAPLAYER_H
#define GAMEPLAYING_ALPHABETAPLAYER_H
#include "osl/game_playing/searchPlayer.h"
#include <boost/scoped_ptr.hpp>
namespace osl
{
namespace search
{
struct AlphaBeta2SharedRoot;
}
namespace game_playing
{
class AlphaBeta2ProgressEvalPlayer : public SearchPlayer
{
public:
AlphaBeta2ProgressEvalPlayer();
~AlphaBeta2ProgressEvalPlayer();
ComputerPlayer* clone() const;
const MoveWithComment searchWithSecondsForThisMove(const GameState&, const search::TimeAssigned&);
bool isReasonableMove(const GameState&, Move move, int pawn_sacrifice);
};
class AlphaBeta2OpenMidEndingEvalPlayer : public SearchPlayer
{
public:
AlphaBeta2OpenMidEndingEvalPlayer();
~AlphaBeta2OpenMidEndingEvalPlayer();
ComputerPlayer* clone() const;
const MoveWithComment searchWithSecondsForThisMove(const GameState&, const search::TimeAssigned&);
bool isReasonableMove(const GameState&, Move move, int pawn_sacrifice);
const MoveWithComment analyzeWithSeconds(const GameState& gs, const search::TimeAssigned& org,
search::AlphaBeta2SharedRoot& out);
};
class AlphaBeta3OpenMidEndingEvalPlayer : public SearchPlayer
{
public:
AlphaBeta3OpenMidEndingEvalPlayer();
~AlphaBeta3OpenMidEndingEvalPlayer();
ComputerPlayer* clone() const;
const MoveWithComment searchWithSecondsForThisMove(const GameState&, const search::TimeAssigned&);
bool isReasonableMove(const GameState&, Move move, int pawn_sacrifice);
};
class AlphaBeta4Player : public SearchPlayer
{
public:
AlphaBeta4Player();
~AlphaBeta4Player();
ComputerPlayer* clone() const;
const MoveWithComment searchWithSecondsForThisMove(const GameState&, const search::TimeAssigned&);
bool isReasonableMove(const GameState&, Move move, int pawn_sacrifice);
};
} // namespace game_playing
} // namespace osl
#endif /* GAMEPLAYING_ALPHABETAPLAYER_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|