pub trait Strategy: Send + Sync {
// Required methods
fn name(&self) -> &'static str;
fn thesis(&self) -> &'static str;
fn enter(&self, ctx: &Context<'_>) -> Option<Plan>;
fn exit(&self, ctx: &Context<'_>, open: &OpenView) -> bool;
}Expand description
The whole contract between an idea and the simulator.