Struct cisat::Team[][src]

pub struct Team<S, A> where
    S: Solution,
    A: AgentMethods<S>, 
{ /* fields omitted */ }

This is the Team construct, which contains a set of Agents

Trait Implementations

impl<S: Clone, A: Clone> Clone for Team<S, A> where
    S: Solution,
    A: AgentMethods<S>, 
[src]

impl<S: Debug, A: Debug> Debug for Team<S, A> where
    S: Solution,
    A: AgentMethods<S>, 
[src]

impl<S, A> Default for Team<S, A> where
    S: Solution,
    A: AgentMethods<S>, 
[src]

impl<S, A> TeamMethods<S, A> for Team<S, A> where
    S: Solution,
    A: AgentMethods<S>, 
[src]

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

Auto Trait Implementations

impl<S, A> RefUnwindSafe for Team<S, A> where
    A: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, A> Send for Team<S, A>

impl<S, A> Sync for Team<S, A> where
    A: Sync,
    S: Sync

impl<S, A> Unpin for Team<S, A> where
    A: Unpin,
    S: Unpin

impl<S, A> UnwindSafe for Team<S, A> where
    A: UnwindSafe,
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,