|
Darwin Neuroevolution Framework
|
Domain: Drone Track. More...
#include <domain.h>
Public Member Functions | |
| size_t | inputs () const override |
| Number of inputs to a Brain. | |
| size_t | outputs () const override |
| Number of outputs from a Brain. | |
| bool | evaluatePopulation (darwin::Population *population) const override |
| Assigns fitness values to every genotype. More... | |
Public Member Functions inherited from darwin::Domain | |
| virtual unique_ptr< core::PropertySet > | calibrateGenotype ([[maybe_unused]] const Genotype *genotype) const |
| Optional: additional fitness metrics (normally not used in the population evaluation, ie a test set) | |
Domain: Drone Track.
Race around a procedurally generated track, using the drone sensors (camera, ...)
| Output | Value |
|---|---|
| 0,1 | force vector (x, y) applied to the drone |
| 2 | torque applied to turn the drone |
|
overridevirtual |
Assigns fitness values to every genotype.
Having a good fitness function is a key part of evolutionary algorithms:
true if the evolution goal was reached Implements darwin::Domain.
1.8.14