pub struct RandomAgent { /* private fields */ }Expand description
A coin-flip “monkey”: a fully-invested, long-only portfolio with random weights each step. Seeded so it is reproducible. Run many of these to draw the luck floor — the distribution of outcomes from zero skill that a genuine agent must clear to be rank-eligible.
Implementations§
Trait Implementations§
Source§impl Agent for RandomAgent
impl Agent for RandomAgent
fn decide(&mut self, obs: &MarketObservation) -> Decision
Auto Trait Implementations§
impl Freeze for RandomAgent
impl RefUnwindSafe for RandomAgent
impl Send for RandomAgent
impl Sync for RandomAgent
impl Unpin for RandomAgent
impl UnsafeUnpin for RandomAgent
impl UnwindSafe for RandomAgent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more