Enum usiagent::selfmatch::SelfMatchMessage [−][src]
pub enum SelfMatchMessage {
Ready,
GameStart,
StartThink(Teban, Banmen, MochigomaCollections, u32, Vec<AppliedMove>, Instant),
StartPonderThink(Teban, Banmen, MochigomaCollections, u32, Vec<AppliedMove>),
NotifyMove(BestMove),
PonderHit,
PonderNG,
GameEnd(GameEndState),
Abort,
Quit,
Error(usize),
}
Expand description
自己対局機能の実装内でやり取りするメッセージオブジェクト
Variants
準備完了
ゲーム開始
StartThink(Teban, Banmen, MochigomaCollections, u32, Vec<AppliedMove>, Instant)
プレイヤーの思考を開始する
Tuple Fields of StartThink
StartPonderThink(Teban, Banmen, MochigomaCollections, u32, Vec<AppliedMove>)
プレイヤーの思考を開始する(go ponder)
Tuple Fields of StartPonderThink
NotifyMove(BestMove)
プレイヤーから指し手を返す
Tuple Fields of NotifyMove
0: BestMove
ponderで予測した指し手と一致した
ponderで予測した指し手と一致しない
GameEnd(GameEndState)
対局終了
Tuple Fields of GameEnd
0: GameEndState
中断
自己対局終了
Error(usize)
エラー発生を通知
Tuple Fields of Error
0: usize