Struct renforce::util::table::VTable [] [src]

pub struct VTable<S: FiniteSpace> where S::Element: Hash + Eq { /* fields omitted */ }

VTable

Represents a VFunction implemented using a table The values of all states are stored in a table

Trait Implementations

impl<S: Debug + FiniteSpace> Debug for VTable<S> where S::Element: Hash + Eq,
        S::Element: Debug
[src]

Formats the value using the given formatter.

impl<S: Clone + FiniteSpace> Clone for VTable<S> where S::Element: Hash + Eq,
        S::Element: Clone
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<S: FiniteSpace> VFunction<S> for VTable<S> where S::Element: Hash + Eq
[src]

Evaluate the function on the given state

Update the function using the given information (alpha is learning rate)