[][src]Struct rsneat::Neat

pub struct Neat { /* fields omitted */ }

Structure for NEAT simulation state

Implementations

impl Neat[src]

pub fn new() -> Self[src]

Create a NEAT state with the default hyperparmeters

pub fn from_params(params: NeatParams) -> Neat[src]

Create a NEAT state with the given hyperparmeters

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl RefUnwindSafe for Neat

impl Send for Neat

impl Sync for Neat

impl Unpin for Neat

impl UnwindSafe for Neat

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