Trait cisat::TeamMethods [−][src]
This is a trait for implementing new teams
Required methods
fn new(parameters: Parameters) -> Self
[src]
Generates a new agent
fn iterate(&mut self)
[src]
Iterates on the solution
fn solve(&mut self)
[src]
Solves all the way for a solution
fn get_best_solution_so_far(&mut self) -> S
[src]
Gets the best solution found by the team so far
Implementors
impl<S, A> TeamMethods<S, A> for Team<S, A> where
S: Solution,
A: AgentMethods<S>,
[src]
S: Solution,
A: AgentMethods<S>,
fn new(parameters: Parameters) -> Self
[src]
This generates a new team
fn iterate(&mut self)
[src]
This runs a single iteration
fn solve(&mut self)
[src]
This runs a bunch of iterations to solve
fn get_best_solution_so_far(&mut self) -> S
[src]
This pulls out the best solution from the team