Struct cisat::Team [−][src]
This is the Team construct, which contains a set of Agents
Fields
parameters: Parameters
The parameters that the team runs with
agent_list: Vec<A>
The agents contained in the team
phantom: PhantomData<S>
Trait Implementations
impl<S: Clone, A: Clone> Clone for Team<S, A> where
S: Solution,
A: AgentMethods<S>,
[src]
S: Solution,
A: AgentMethods<S>,
impl<S: Debug, A: Debug> Debug for Team<S, A> where
S: Solution,
A: AgentMethods<S>,
[src]
S: Solution,
A: AgentMethods<S>,
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
Auto Trait Implementations
impl<S, A> RefUnwindSafe for Team<S, A> where
A: RefUnwindSafe,
S: RefUnwindSafe,
[src]
A: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, A> Send for Team<S, A>
[src]
impl<S, A> Sync for Team<S, A> where
A: Sync,
S: Sync,
[src]
A: Sync,
S: Sync,
impl<S, A> Unpin for Team<S, A> where
A: Unpin,
S: Unpin,
[src]
A: Unpin,
S: Unpin,
impl<S, A> UnwindSafe for Team<S, A> where
A: UnwindSafe,
S: UnwindSafe,
[src]
A: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,