[][src]Struct ggpf::policies::ppa::PPA

pub struct PPA<G, M> where
    G: Game,
    M: MoveCode<G>, 
{ pub config: PPA, pub _m: PhantomData<fn() -> M>, pub _g: PhantomData<fn() -> G>, }

Playout Policy Adaptation policy builder.

Fields

config: PPA

PPA settings.

_m: PhantomData<fn() -> M>

PhantomData, storing move encoder type information.

_g: PhantomData<fn() -> G>

PhantomData, storing game type information.

Methods

impl<G, M> PPA<G, M> where
    G: Game,
    M: MoveCode<G>, 
[src]

pub fn new(config: PPA) -> Self[src]

Create a new PPA policy builder.

Trait Implementations

impl<G, M> Clone for PPA<G, M> where
    G: Game,
    M: MoveCode<G>, 
[src]

impl<G, M> Copy for PPA<G, M> where
    G: Game,
    M: MoveCode<G>, 
[src]

impl<G, M> Display for PPA<G, M> where
    G: Game,
    M: MoveCode<G>, 
[src]

impl<G, M> MultiplayerPolicyBuilder<G> for PPA<G, M> where
    G: Game + SingleWinner + Clone + Eq + Hash,
    M: MoveCode<G>, 
[src]

type P = PPAPolicy<G, M>

Created policy type. Read more

Auto Trait Implementations

impl<G, M> RefUnwindSafe for PPA<G, M>

impl<G, M> Send for PPA<G, M>

impl<G, M> Sync for PPA<G, M>

impl<G, M> Unpin for PPA<G, M>

impl<G, M> UnwindSafe for PPA<G, M>

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<'a, G, PB> DynMultiplayerPolicyBuilder<'a, G> for PB where
    G: Game,
    PB: MultiplayerPolicyBuilder<G>,
    <PB as MultiplayerPolicyBuilder<G>>::P: 'a,
    <PB as MultiplayerPolicyBuilder<G>>::P: Send,
    <PB as MultiplayerPolicyBuilder<G>>::P: Sync
[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> ToString for T where
    T: Display + ?Sized
[src]

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