Struct renforce::util::feature::RBFeature [] [src]

pub struct RBFeature<F: Float + Debug + 'static, S: Space> { /* fields omitted */ }

Radial Basis (Function) Feature

Computes feature exp(-||s-s'||2/(2u2)) Represents a gaussian centered at s' with standard deviation u

Methods

impl<F: Float + Debug + 'static, S: Space> RBFeature<F, S>
[src]

Creates a new RBFeature with given center and standard deviation

Trait Implementations

impl<F: Debug + Float + Debug + 'static, S: Debug + Space> Debug for RBFeature<F, S> where S::Element: Debug
[src]

Formats the value using the given formatter.

impl<F: Clone + Float + Debug + 'static, S: Clone + Space> Clone for RBFeature<F, S> where S::Element: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<F: Float + Debug + 'static, S: Space + Clone + 'static> Feature<S, F> for RBFeature<F, S> where S::Element: Metric
[src]

Extracts some real-valued feature from a given state

Creates a cloned trait object of self