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

pub struct IFeature<F: Float + Debug + 'static, T: Debug + Into<F>> { /* fields omitted */ }

Identity Feature

Attempts to convert (state, action) pair into a Vec and returns the ith component

Methods

impl<F: Float + Debug + 'static, T: Debug + Into<F>> IFeature<F, T>
[src]

Creates a new Identity Feature

Trait Implementations

impl<F: Debug + Float + Debug + 'static, T: Debug + Debug + Into<F>> Debug for IFeature<F, T>
[src]

Formats the value using the given formatter.

impl<F: Clone + Float + Debug + 'static, T: Clone + Debug + Into<F>> Clone for IFeature<F, T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<F: Float + Debug + 'static, S: Space, T> Feature<S, F> for IFeature<F, T> where T: Into<F> + Debug + Clone + 'static,
        S::Element: Into<Vec<T>>
[src]

Extracts some real-valued feature from a given state

Creates a cloned trait object of self