[][src]Struct pos_pso::SwarmConfig

pub struct SwarmConfig { /* fields omitted */ }

Implementations

impl SwarmConfig[src]

pub fn new_collaborative(
    local: f64,
    tribal: f64,
    global: f64,
    inertial: f64,
    inertial_growth_factor: f64,
    wall_bounce_factor: f64,
    tribal_global_share_every: usize
) -> Self
[src]

pub fn new_independant(
    local: f64,
    tribal: f64,
    inertial: f64,
    inertial_growth_factor: f64,
    wall_bounce_factor: f64
) -> Self
[src]

pub fn default_collab() -> Self[src]

pub fn default_independant() -> Self[src]

pub fn motion_coeffs(&self) -> [f64; 4][src]

pub fn inertial_growth_factor(&self) -> f64[src]

pub fn wall_bounce_factor(&self) -> f64[src]

pub fn tribal_global_share_every(&self) -> usize[src]

pub fn is_collaborative(&self) -> bool[src]

Trait Implementations

impl Clone for SwarmConfig[src]

impl Debug for SwarmConfig[src]

impl Display for SwarmConfig[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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>,