[][src]Struct pos_pso::JobConfig

pub struct JobConfig {
    pub num_variables: usize,
    pub pos_bounds: Bound,
    pub vel_bounds: Bound,
    pub max_itterations: usize,
    pub exit_cost: f64,
}

Fields

num_variables: usizepos_bounds: Boundvel_bounds: Boundmax_itterations: usizeexit_cost: f64

Implementations

impl JobConfig[src]

pub fn new(
    num_variables: usize,
    variable_bounds: Vec<[f64; 2]>,
    max_velocities: Vec<f64>,
    max_itterations: usize,
    exit_cost: f64
) -> Self
[src]

Trait Implementations

impl Clone for JobConfig[src]

impl Debug for JobConfig[src]

impl Display for JobConfig[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>,