[][src]Struct ggpf::policies::mcts::puct::AlphaZeroConfig

pub struct AlphaZeroConfig<A, B> {
    pub n_playouts: usize,
    pub puct: PUCT,
    pub network_path: String,
    pub board_shape: B,
    pub action_shape: A,
    pub watch_models: bool,
    pub batch_size: usize,
}

Global configuration for AlphaZero setup.

Fields

n_playouts: usize

Number of playouts for search.

puct: PUCT

Settings for PUCT search.

network_path: String

Model directory location.

board_shape: B

Board space dimensions.

action_shape: A

Action shape dimensions.

watch_models: bool

Watch model for update.

batch_size: usize

GPU batch size.

Trait Implementations

impl<A: Clone, B: Clone> Clone for AlphaZeroConfig<A, B>[src]

Auto Trait Implementations

impl<A, B> RefUnwindSafe for AlphaZeroConfig<A, B> where
    A: RefUnwindSafe,
    B: RefUnwindSafe

impl<A, B> Send for AlphaZeroConfig<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for AlphaZeroConfig<A, B> where
    A: Sync,
    B: Sync

impl<A, B> Unpin for AlphaZeroConfig<A, B> where
    A: Unpin,
    B: Unpin

impl<A, B> UnwindSafe for AlphaZeroConfig<A, B> where
    A: UnwindSafe,
    B: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T

impl<T> From<T> for T[src]

impl<T> FromPy<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> IntoPy<U> for T where
    U: FromPy<T>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> With for T