Module neuroevolution stdlib

neuroevolution
Version:
0.3.3
License:
MIT
Dependencies from vmod:
0
Imports:
2
Imported by:
0
Repository:
OS-specific
Show selected OS-specific symbols.
Backend-specific
Show selected Backend-specific symbols.

Dependencies defined in v.mod

This section is empty.

Imports

Imported by

This section is empty.

Aliases

This section is empty.

Constants

This section is empty.

Sum types

This section is empty.

Functions

#fn activation

fn activation(a f64) f64

Structs

#struct Network

pub struct Network {
mut:
	layers []Layer
}

#fn (&Network) populate

fn (mut n &Network) populate(network []int)

#fn (Network) get_save

fn (n Network) get_save() Save

#fn (&Network) set_save

fn (mut n &Network) set_save(save Save)

#fn (&Network) compute

fn (mut n &Network) compute(inputs []f64) []f64

#struct Generations

pub struct Generations {
pub:
	population int
	network    []int
mut:
	generations []Generation
}

#fn (&Generations) first

fn (mut gs &Generations) first() []Save

#fn (&Generations) next

fn (mut gs &Generations) next() []Save

#fn (&Generations) add_genome

fn (mut gs &Generations) add_genome(genome Genome)

#fn (&Generations) restart

fn (mut gs &Generations) restart()

#fn (&Generations) generate

fn (mut gs &Generations) generate() []Network

#fn (&Generations) network_score

fn (mut gs &Generations) network_score(network Network, score int)

Interfaces

This section is empty.

Enums

This section is empty.