This file is indexed.

/usr/include/osl/game_playing/speculativeSearchPlayer.h is in libosl-dev 0.4.2-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
49
50
51
/* speculativeSearchPlayer.h
 */
#ifndef OSL_SPECULATIVESEARCHPLAYER_H
#define OSL_SPECULATIVESEARCHPLAYER_H

#include "osl/game_playing/computerPlayer.h"
#include "osl/game_playing/speculativeModel.h"
#include <boost/shared_ptr.hpp>
#include <boost/scoped_ptr.hpp>

namespace osl
{
  namespace game_playing
  {
    class SearchPlayer;
    class SpeculativeModel;
    /**
     * 相手時間中に探索
     */
    class SpeculativeSearchPlayer : public ComputerPlayer
    {
      boost::scoped_ptr<SearchPlayer> main_player;
      boost::shared_ptr<GameState> previous_state;
      boost::scoped_ptr<SpeculativeModel> speculative;
      Player my_turn;
    public:
      /** 所有権移転 */
      SpeculativeSearchPlayer(Player my_turn, SearchPlayer *);
      ~SpeculativeSearchPlayer();
      ComputerPlayer* clone() const;

      void pushMove(Move m);
      void popMove();
      bool stopSearchNow();

      /** ThreadForEachMove のみに有効 */
      void setMaxThreads(int new_max_threads);

      const MoveWithComment selectBestMove(const GameState&, int limit, int elapsed, int byoyomi);
      search::TimeAssigned standardSearchSeconds(const GameState&, int limit, int elapsed, int byoyomi) const;
    private:
      void selectBestMoveCleanUp(const GameState& state);
    };
  } // game_playing
} // osl

#endif /* OSL_SPECULATIVESEARCHPLAYER_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End: