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

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

Binary Ball Feature

1 iff the state is close enough to the center

Methods

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

Creates a new BBFeature

Trait Implementations

impl<F: Debug + Float + Debug + 'static, S: Debug + Space> Debug for BBFeature<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 BBFeature<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 BBFeature<F, S> where S::Element: Metric
[src]

Extracts some real-valued feature from a given state

Creates a cloned trait object of self