Struct revonet::ne::NEIndividual [] [src]

pub struct NEIndividual { /* fields omitted */ }

Represents individual for neuroevolution. The main difference is that the NE individual also has a network field, which stores current neural network.

Trait Implementations

impl Clone for NEIndividual
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for NEIndividual
[src]

Formats the value using the given formatter.

impl Individual for NEIndividual
[src]

Creates a new individual with empty set of genes and NAN fitness.

Initializes an individual by allocating random vector of genes using Gaussian distribution. Read more

Return current fitness value.

Update fitness value.

Return vector of genes.

Return mutable vector of genes.

Return MultilayeredNetwork object with weights assigned according to the genes' values.

Return mutable MultilayeredNetwork object with weights assigned according to the genes' values.

Update individual's MultilayeredNetwork object and update genes according to the network weights. Read more