Struct set_genome::Structure[][src]

pub struct Structure {
    pub inputs: usize,
    pub inputs_connected_percent: f64,
    pub outputs: usize,
    pub outputs_activation: Activation,
    pub weight_std_dev: f64,
    pub weight_cap: f64,
}

This struct describes the invariants of the ANN structure.

Fields

inputs: usize

Number of input nodes.

inputs_connected_percent: f64

Percent of input nodes initially connected to all poutput nodes.

outputs: usize

Number of output nodes.

outputs_activation: Activation

Activation function for all output nodes.

weight_std_dev: f64

Standard deviation of a normal distribution that provides samples for weight perturbations.

weight_cap: f64

Constrains connection weights to the range [-weight_cap, weight_cap].

Trait Implementations

impl Clone for Structure[src]

impl Debug for Structure[src]

impl Default for Structure[src]

impl<'de> Deserialize<'de> for Structure[src]

impl Serialize for Structure[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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, 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>,