Graine
Génération procédurale de créatures et apprentissage par réseaux de neurones.
Public Member Functions | List of all members
Neuron Class Reference

#include <Neuron.hpp>

Public Member Functions

 Neuron (int nbInput)
 Constructor of Neuron. More...
 
 Neuron (int nbInput, Neuron &father, Neuron &mother)
 Constructor of Neuron. More...
 
double crossOver (double used, double notUsed)
 Crossover function. More...
 
double mutate (double value)
 Mutation function, these are quite rare. More...
 
double stimule (std::vector< double > weights)
 Stimulation function. More...
 

Constructor & Destructor Documentation

Neuron::Neuron ( int  nbInput)

Constructor of Neuron.

Here is the call graph for this function:

Neuron::Neuron ( int  nbInput,
Neuron father,
Neuron mother 
)

Constructor of Neuron.

Here is the call graph for this function:

Member Function Documentation

double Neuron::crossOver ( double  used,
double  notUsed 
)

Crossover function.

crossOver method definition

Parameters
used
notUsed
Returns
a double value

Here is the caller graph for this function:

double Neuron::mutate ( double  value)

Mutation function, these are quite rare.

Define if a Neuron mutate or not which means the mutate value will change.

Parameters
value
Returns
a double value

Here is the call graph for this function:

Here is the caller graph for this function:

double Neuron::stimule ( std::vector< double >  weights)

Stimulation function.

Stimulation of a Neuron

Parameters
stim
Returns
a complicated value

The documentation for this class was generated from the following files: