Trait renforce::util::Feature [] [src]

pub trait Feature<S: Space, F: Float>: Debug {
    fn extract(&self, state: &S::Element) -> F;
    fn box_clone(&self) -> Box<Feature<S, F>>;
}

A real-valued feature of elements of some state space

Required Methods

Extracts some real-valued feature from a given state

Creates a cloned trait object of self

Implementors