++ed by:
SALVA NGLENN POTATOGIM

3 PAUSE users
1 non-PAUSE user.

Rutger Vos
and 1 contributors

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

clone

Clones the object

mutate

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