[−][src]Trait optlib::AgentsState
The trait for algotithms where use agents (genetic algorithm, partical swarm algorithm etc).
T - type of a point in search space for goal function.
Associated Types
Loading content...Required methods
fn get_agents(&self) -> Vec<&Self::Agent>
Returns vector with references to all agents
Implementors
impl<'a, T: Clone> AgentsState<T> for Population<'a, T>[src]
type Agent = Individual<T>
fn get_agents(&self) -> Vec<&Self::Agent>[src]
Returns vector with references to all agents