Struct cisat::Parameters[][src]

pub struct Parameters {
    pub number_of_teams: usize,
    pub number_of_agents: usize,
    pub number_of_iterations: usize,
    pub temperature_schedule: TemperatureSchedule,
    pub operational_learning: OperationalLearning,
    pub communication: CommunicationStyle,
    pub self_bias: f64,
    pub quality_bias: f64,
    pub satisficing_fraction: f64,
}

This parameters struct. This tells CISAT what to do

Fields

number_of_teams: usize

Number of teams

number_of_agents: usize

Number of agents on each team

number_of_iterations: usize

The number of iterations the team will run for

temperature_schedule: TemperatureSchedule

The temperature schedule to use

operational_learning: OperationalLearning

The oeprational learing style to use

communication: CommunicationStyle

The communication style to use

self_bias: f64

The self bias value to use

quality_bias: f64

The quality bias value to use

satisficing_fraction: f64

The satisficing fraction to use

Implementations

impl Parameters[src]

pub fn load_from_file(&mut self, file_name: String)[src]

This function makes it possible to load settings from a file

Trait Implementations

impl Clone for Parameters[src]

impl Debug for Parameters[src]

impl Default for Parameters[src]

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