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]
fn new(center: S::Element, deviation: F) -> RBFeature<F, S>
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]
impl<F: Clone + Float + Debug + 'static, S: Clone + Space> Clone for RBFeature<F, S> where S::Element: Clone
[src]
fn clone(&self) -> RBFeature<F, S>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more