[][src]Enum cetkaik_full_state_transition::probabilistic::Probabilistic

pub enum Probabilistic<T> {
    Pure(T),
    Water {
        failure: T,
        success: T,
    },
    Sticks {
        s0: T,
        s1: T,
        s2: T,
        s3: T,
        s4: T,
        s5: T,
    },
    WhoGoesFirst {
        ia_first: T,
        a_first: T,
    },
}

Describes the probability density due to the sticks cast. /投げ棒に由来する確率分布。

Variants

Pure(T)
Water

Fields of Water

failure: Tsuccess: T
Sticks

Fields of Sticks

s0: Ts1: Ts2: Ts3: Ts4: Ts5: T
WhoGoesFirst

Fields of WhoGoesFirst

ia_first: Ta_first: T

Implementations

impl<T: Clone> Probabilistic<T>[src]

#[must_use]pub fn choose(self) -> (T, Option<usize>)[src]

#[must_use]pub fn choose_when_no_ciurl(self) -> T[src]

Trait Implementations

impl<T: Clone> Clone for Probabilistic<T>[src]

impl<T: Debug> Debug for Probabilistic<T>[src]

impl<T: Clone> Into<Prob<(T, Option<usize>)>> for Probabilistic<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Probabilistic<T> where
    T: RefUnwindSafe
[src]

impl<T> Send for Probabilistic<T> where
    T: Send
[src]

impl<T> Sync for Probabilistic<T> where
    T: Sync
[src]

impl<T> Unpin for Probabilistic<T> where
    T: Unpin
[src]

impl<T> UnwindSafe for Probabilistic<T> where
    T: UnwindSafe
[src]

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> From<T> for T[src]

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

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>,