[][src]Struct lfa::basis::fixed::Prototype

pub struct Prototype<I, K> {
    pub centroid: I,
    pub kernel: K,
}

Feature prototype used by the KernelProjector basis.

Fields

centroid: Ikernel: K

Methods

impl<I, K: Kernel<I>> Prototype<I, K>[src]

pub fn kernel(&self, x: &I) -> f64[src]

Trait Implementations

impl<I: Copy, K: Copy> Copy for Prototype<I, K>[src]

impl<I: Clone, K: Clone> Clone for Prototype<I, K>[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<I: Debug, K: Debug> Debug for Prototype<I, K>[src]

impl<'de, I, K> Deserialize<'de> for Prototype<I, K> where
    I: Deserialize<'de>,
    K: Deserialize<'de>, 
[src]

impl<I, K> Serialize for Prototype<I, K> where
    I: Serialize,
    K: Serialize
[src]

Auto Trait Implementations

impl<I, K> Send for Prototype<I, K> where
    I: Send,
    K: Send

impl<I, K> Sync for Prototype<I, K> where
    I: Sync,
    K: Sync

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

impl<T, U> TryInto 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<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]