pub trait Executor<V, Ax, Ix> {
// Required methods
fn num_agents(&self) -> usize;
fn graph(&self) -> &GraphB;
// Provided method
fn execute<R>(
&self,
memory: &mut Memory<V, Ax>,
num_iter: u32,
rng: R,
) -> Vec<Stat>
where V: MyFloat,
Open01: Distribution<V>,
Standard: Distribution<V>,
StandardNormal: Distribution<V>,
Exp1: Distribution<V>,
R: Rng,
Ix: InstanceExt<V, R, Self>,
Ax: AgentExtTrait<V, Exec = Self, Ix = Ix>,
Self: Sized { ... }
}