Struct rustneat::organism::Organism [] [src]

pub struct Organism {
    pub genome: Genome,
    pub fitness: f64,
}

An organism is a Genome with fitness. Also maitain a fitenss measure of the organism

Fields

Methods

impl Organism
[src]

[src]

Create a new organmism form a single genome.

[src]

Return a new Orgnaism by mutating this Genome and fitness of zero

[src]

Mate this organism with another

[src]

Activate this organism in the NN

Trait Implementations

impl Debug for Organism
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Organism
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Organism

impl Sync for Organism