#include "osl/state/numEffectState.h"
#include "osl/effect_util/effectUtil.h"
#include "osl/container/moveVector.h"
#include "osl/apply_move/applyMove.h"
#include "osl/record/csa.h"
#include "osl/move_generator/legalMoves.h"
#include <boost/random/mersenne_twister.hpp>
#include <string>
#include <sys/time.h>
関数 | |
void | showState (const NumEffectState &state) |
Move | selectMove (const NumEffectState &state, const MoveVector &moves) |
ランダムに選ぶ | |
bool | isMated (const NumEffectState &state) |
指した後,王が取られたら負け | |
int | main () |
bool isMated | ( | const NumEffectState & | state | ) |
int main | ( | ) |
random_play.cc の 49 行で定義されています。
参照先 osl::csaShow(), osl::move_generator::capture::generate(), osl::HIRATE, isMated(), moves, selectMove(), showState(), と osl::record::csa::strToMove().
Move selectMove | ( | const NumEffectState & | state, | |
const MoveVector & | moves | |||
) |
void showState | ( | const NumEffectState & | state | ) |
random_play.cc の 19 行で定義されています。
参照元 main().