#include <feature.h>
Public 型 | |
enum | OpponentType { CAPTURE, DROP, ESCAPE, OTHER } |
Public メソッド | |
Chase (Ptype s, Ptype t, bool d, OpponentType o) | |
bool | match (const NumEffectState &state, Move move, const RatingEnv &env) const |
Static Public メソッド | |
static const std::string | name (Ptype, Ptype, bool, OpponentType) |
Private 変数 | |
Ptype | self |
Ptype | target |
bool | drop |
OpponentType | opponent_type |
rating/feature.h の 139 行で定義されています。
rating/feature.h の 142 行で定義されています。
osl::rating::Chase::Chase | ( | Ptype | s, | |
Ptype | t, | |||
bool | d, | |||
OpponentType | o | |||
) | [inline] |
rating/feature.h の 148 行で定義されています。
bool osl::rating::Chase::match | ( | const NumEffectState & | state, | |
Move | move, | |||
const RatingEnv & | env | |||
) | const [inline, virtual] |
osl::rating::Featureを実装しています。
rating/feature.h の 150 行で定義されています。
参照先 CAPTURE, osl::Move::capturePtype(), DROP, drop, ESCAPE, osl::Move::from(), osl::NumEffectState::hasEffectAt(), osl::NumEffectState::hasEffectIf(), osl::rating::RatingEnv::history, osl::Move::isDrop(), osl::Move::isNormal(), opponent_type, OTHER, osl::Move::ptype(), osl::PTYPE_EMPTY, osl::Move::ptypeO(), target, osl::Move::to(), と osl::SimpleState::turn().
const std::string osl::rating::Chase::name | ( | Ptype | self, | |
Ptype | target, | |||
bool | drop, | |||
OpponentType | opponent_type | |||
) | [static] |
feature.cc の 138 行で定義されています。
参照先 CAPTURE, DROP, osl::PtypeTable::getCsaName(), と osl::Ptype_Table.
bool osl::rating::Chase::drop [private] |
rating/feature.h の 145 行で定義されています。
参照元 match().
rating/feature.h の 146 行で定義されています。
参照元 match().
Ptype osl::rating::Chase::self [private] |
rating/feature.h の 144 行で定義されています。
Ptype osl::rating::Chase::target [private] |
rating/feature.h の 144 行で定義されています。
参照元 match().