Struct renforce::agent::RandomAgent [] [src]

pub struct RandomAgent<A: Space> { /* fields omitted */ }

Random Agent

Represents an agent that acts randomly

Methods

impl<A: Space> RandomAgent<A>
[src]

Creates a new random agent that performs actions from the given space

Trait Implementations

impl<A: Debug + Space> Debug for RandomAgent<A>
[src]

Formats the value using the given formatter.

impl<S: Space, A: Space> Agent<S, A> for RandomAgent<A>
[src]

Returns the actions the agent should perform in the given state