Enum usiagent::selfmatch::SelfMatchMessage[][src]

pub enum SelfMatchMessage {
    Ready,
    GameStart,
    StartThink(TebanBanmenMochigomaCollectionsu32Vec<AppliedMove>, Instant),
    StartPonderThink(TebanBanmenMochigomaCollectionsu32Vec<AppliedMove>),
    NotifyMove(BestMove),
    PonderHit,
    PonderNG,
    GameEnd(GameEndState),
    Abort,
    Quit,
    Error(usize),
}
Expand description

自己対局機能の実装内でやり取りするメッセージオブジェクト

Variants

Ready

準備完了

GameStart

ゲーム開始

StartThink(TebanBanmenMochigomaCollectionsu32Vec<AppliedMove>, Instant)

プレイヤーの思考を開始する

Tuple Fields of StartThink

0: Teban1: Banmen2: MochigomaCollections3: u324: Vec<AppliedMove>5: Instant
StartPonderThink(TebanBanmenMochigomaCollectionsu32Vec<AppliedMove>)

プレイヤーの思考を開始する(go ponder)

Tuple Fields of StartPonderThink

0: Teban1: Banmen2: MochigomaCollections3: u324: Vec<AppliedMove>
NotifyMove(BestMove)

プレイヤーから指し手を返す

Tuple Fields of NotifyMove

0: BestMove
PonderHit

ponderで予測した指し手と一致した

PonderNG

ponderで予測した指し手と一致しない

GameEnd(GameEndState)

対局終了

Tuple Fields of GameEnd

0: GameEndState
Abort

中断

Quit

自己対局終了

Error(usize)

エラー発生を通知

Tuple Fields of Error

0: usize

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.