My Project
std
osl
rating
ratingEnv.h
Go to the documentation of this file.
1
/* ratingEnv.h
2
*/
3
#ifndef _RATINGENV_H
4
#define _RATINGENV_H
5
6
#include "
osl/numEffectState.h
"
7
#include "
osl/container/moveStack.h
"
8
#include "
osl/container/square8.h
"
9
#include "
osl/progress.h
"
10
11
namespace
osl
12
{
13
namespace
rating
14
{
15
class
RatingEnv
16
{
17
public
:
18
MoveStack
history
;
19
Square8
sendoffs
;
20
PieceMask
my_pin
,
op_pin
;
21
int
attack_count_for_turn
;
22
Progress16
progress
;
23
mutable
CArray<signed char,Square::SIZE>
counteffect2_cache
;
24
mutable
CArray<int,Square::SIZE>
pattern_cache
;
25
26
void
update
(
const
NumEffectState
& new_state,
Move
last_move);
27
void
make
(
const
NumEffectState
& new_state);
28
void
make
(
const
NumEffectState
& new_state,
29
const
PieceMask
&
my_pin
,
const
PieceMask
&
op_pin
, Progress16);
30
};
31
}
32
using
rating::RatingEnv
;
33
}
34
35
#endif
/* _RATINGENV_H */
36
// ;;; Local Variables:
37
// ;;; mode:c++
38
// ;;; c-basic-offset:2
39
// ;;; 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
Definition
additionalEffect.h:6
numEffectState.h
progress.h
square8.h
osl::container::Square8
Definition
square8.h:16
Generated by
1.9.8