The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

AI::FANN::Evolving::Gene - gene that codes for an artificial neural network (ANN)

METHODS

new

Constructor is passed named arguments. Instantiates a trained AI::FANN::Evolving ANN

ann

Getter/setter for an AI::FANN::Evolving ANN

make_function

Returns a code reference to the fitness function, which when executed returns a fitness value and writes the corresponding ANN to file

fitness

Stores the fitness value after expressing the fitness function

mutate

Mutates the ANN by stochastically altering its properties in proportion to the mutation_rate