Define a new object called "GANN" for Genetic Artificial Neural Network that inherit of the interface IDNA.  
 More...
#include <gann.h>
|  | 
|  | GANN (std::vector< unsigned int > const &infos) | 
|  | Constructor.  More... 
 | 
|  | 
|  | GANN (ANN const &ann) | 
|  | Constructor. 
 | 
|  | 
|  | ~GANN (void) | 
|  | Destructor. 
 | 
|  | 
| double | getFitness (void) const | 
|  | Get the fitness of the GANN.  More... 
 | 
|  | 
| ANN const & | getGenes (void) const | 
|  | Get the neural network of the GANN.  More... 
 | 
|  | 
| void | setFitness (double fitness) | 
|  | Set the fitness of the GANN.  More... 
 | 
|  | 
| void | setGenes (ANN const &ann) | 
|  | Set the neural network of the GANN.  More... 
 | 
|  | 
| void | Print (void) | 
|  | Print the neural network in the shell. 
 | 
|  | 
|  | GANN (std::vector< unsigned int > const &infos) | 
|  | 
|  | GANN (ANN const &ann) | 
|  | 
| double | getFitness (void) const | 
|  | Get the fitness of the individual.  More... 
 | 
|  | 
| ANN const & | getGenes (void) const | 
|  | 
| void | setFitness (double fitness) | 
|  | Set the fitness of the individual.  More... 
 | 
|  | 
| void | setGenes (ANN const &ann) | 
|  | 
| void | Print (void) | 
|  | Allow to draw the individual on the shell. 
 | 
|  | 
| virtual | ~IDNA (void) | 
|  | Destructor. 
 | 
|  | 
Define a new object called "GANN" for Genetic Artificial Neural Network that inherit of the interface IDNA. 
      
        
          | GANN::GANN::GANN | ( | std::vector< unsigned int > const & | infos | ) |  | 
      
 
Constructor. 
- Parameters
- 
  
    | infos | : Contains the topology of the neural network. |  
 
 
 
  
  | 
        
          | double GANN::GANN::getFitness | ( | void |  | ) | const |  | virtual | 
 
Get the fitness of the individual. 
- Returns
- double : fitness 
Implements GA::IDNA.
 
 
  
  | 
        
          | double GANN::GANN::getFitness | ( | void |  | ) | const |  | virtual | 
 
Get the fitness of the GANN. 
- Returns
- double 
Implements GA::IDNA.
 
 
      
        
          | ANN const & GANN::GANN::getGenes | ( | void |  | ) | const | 
      
 
Get the neural network of the GANN. 
- Returns
- ANN const& 
 
 
  
  | 
        
          | void GANN::GANN::setFitness | ( | double | fitness | ) |  |  | virtual | 
 
Set the fitness of the individual. 
- Parameters
- 
  
    | fitness | : Contains the new fitness. |  
 
Implements GA::IDNA.
 
 
  
  | 
        
          | void GANN::GANN::setFitness | ( | double | fitness | ) |  |  | virtual | 
 
Set the fitness of the GANN. 
- Parameters
- 
  
    | fitness | : Contains the new fitness of the GANN. |  
 
Implements GA::IDNA.
 
 
      
        
          | void GANN::GANN::setGenes | ( | ANN const & | ann | ) |  | 
      
 
Set the neural network of the GANN. 
- Parameters
- 
  
    | ann | : Contains the new neural network of the GANN. |  
 
 
 
The documentation for this class was generated from the following files:
- /home/robin_f/Programming/Git/CPP/LoveBrains/include/GANN/gann.h
- /home/robin_f/Programming/Git/CPP/LoveBrains/lib/GANNEngine/src/GANN/gann.cc