/usr/include/osl/game_playing/speculativeModel.h is in libosl-dev 0.6.0-3.1.
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 | /* speculativeModel.h
*/
#ifndef OSL_SPECULATIVEMODEL_H
#define OSL_SPECULATIVEMODEL_H
#include "osl/game_playing/computerPlayer.h"
#include "osl/search/searchTimer.h"
#include <boost/shared_ptr.hpp>
namespace osl
{
namespace game_playing
{
class SearchPlayer;
/**
* 相手の手の予測1つにつき1thread
*/
class SpeculativeModel
{
public:
virtual ~SpeculativeModel();
virtual void setMaxThreads(int);
virtual void startSpeculative(const boost::shared_ptr<GameState> state,
const SearchPlayer& main_player)=0;
virtual void stopOtherThan(Move)=0;
virtual void stopAll()=0;
virtual const HashKey searchState() const=0;
/**
* @param byoyomi 対局条件を伝えるために利用
*/
virtual const MoveWithComment waitResult(Move last_move, search::TimeAssigned,
SearchPlayer& main_player,
int byoyomi)=0;
virtual void selectBestMoveCleanUp()=0;
void clearResource();
};
} // game_playing
} // osl
#endif /* OSL_SPECULATIVEMODEL_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|