/usr/include/osl/rating/group/king8Group.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 | /* king8Group.h
*/
#ifndef _KING8GROUP_H
#define _KING8GROUP_H
#include "osl/rating/group.h"
#include "osl/rating/feature/king8.h"
namespace osl
{
namespace rating
{
struct AttackKing8Group : public Group
{
AttackKing8Group();
void show(std::ostream& os, int name_width, const range_t& range,
const vector<double>& weights) const
{
showTopN(os, name_width, range, weights, 3);
}
int findMatch(const NumEffectState& state, Move m, const RatingEnv&) const;
bool effectiveInCheck() const { return true; }
};
struct DefenseKing8Group : public Group
{
DefenseKing8Group();
void show(std::ostream& os, int name_width, const range_t& range,
const vector<double>& weights) const
{
showTopN(os, name_width, range, weights, 3);
}
int findMatch(const NumEffectState& state, Move m, const RatingEnv&) const;
};
}
}
#endif /* _KING8GROUP_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|