ratingEnv.h
Go to the documentation of this file.
/* ratingEnv.h
*/
#ifndef _RATINGENV_H
#define _RATINGENV_H
#include "osl/numEffectState.h"
#include "osl/container/moveStack.h"
#include "osl/container/square8.h"
#include "osl/progress.h"
namespace osl
{
namespace rating
{
class RatingEnv
{
public:
MoveStack history;
Square8 sendoffs;
PieceMask my_pin, op_pin;
int attack_count_for_turn;
Progress16 progress;
mutable CArray<signed char,Square::SIZE> counteffect2_cache;
mutable CArray<int,Square::SIZE> pattern_cache;
void update(const NumEffectState& new_state, Move last_move);
void make(const NumEffectState& new_state);
void make(const NumEffectState& new_state,
const PieceMask& my_pin, const PieceMask& op_pin, Progress16);
};
}
using rating::RatingEnv;
}
#endif /* _RATINGENV_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
osl::CArray
Definition container.h:20
osl::Move
圧縮していない moveの表現 .
Definition basic_type.h:1052
osl::NumEffectState
利きを持つ局面
Definition numEffectState.h:34
osl::PieceMask
駒番号のビットセット.
Definition pieceMask.h:21
osl::container::MoveStack
Move のstack.
Definition moveStack.h:15
osl::rating::RatingEnv
Definition ratingEnv.h:16
osl::rating::RatingEnv::attack_count_for_turn
int attack_count_for_turn
Definition ratingEnv.h:21
osl::rating::RatingEnv::history
MoveStack history
Definition ratingEnv.h:18
osl::rating::RatingEnv::sendoffs
Square8 sendoffs
Definition ratingEnv.h:19
osl::rating::RatingEnv::make
void make(const NumEffectState &new_state)
Definition ratingEnv.cc:32
osl::rating::RatingEnv::progress
Progress16 progress
Definition ratingEnv.h:22
osl::rating::RatingEnv::op_pin
PieceMask op_pin
Definition ratingEnv.h:20
osl::rating::RatingEnv::counteffect2_cache
CArray< signed char, Square::SIZE > counteffect2_cache
Definition ratingEnv.h:23
osl::rating::RatingEnv::update
void update(const NumEffectState &new_state, Move last_move)
Definition ratingEnv.cc:9
osl::rating::RatingEnv::my_pin
PieceMask my_pin
Definition ratingEnv.h:20
osl::rating::RatingEnv::pattern_cache
CArray< int, Square::SIZE > pattern_cache
Definition ratingEnv.h:24
moveStack.h
osl::progress::Progress16
ProgressN< 16 > Progress16
Definition progress.h:42
osl::rating
Definition construct.h:18
osl
Definition additionalEffect.h:6
numEffectState.h
progress.h
square8.h
osl::container::Square8
Definition square8.h:16