|
GEGELATI
|
#include <mapElitesDefaultDescriptors.h>
Public Member Functions | |
| virtual void | initDescriptor (const TPG::TPGGraph &graph, const Learn::LearningEnvironment &learningEnvironment) override |
| Specialisation of initDescriptor. | |
| virtual std::string | getName () const override |
| Specialisation of getName. | |
| virtual void | extractMetricsStep (std::vector< double > &metrics, const TPG::TPGVertex *agent, std::vector< double > actionValues, const Learn::LearningEnvironment &learningEnvironment) const override |
| Specialisation of extractMetricsStep. | |
| virtual void | extractMetricsEpisode (std::vector< double > &metrics, const TPG::TPGVertex *agent, size_t nbStepsExecuted, const Learn::LearningEnvironment &learningEnvironment) const override |
| Specialisation of extractMetricsEpisode. | |
Public Member Functions inherited from Selector::MapElites::MapElitesDescriptor | |
| virtual bool | isInit () const |
| method that return if the initDescriptor method has been executed | |
| virtual std::pair< double, double > | getMinAndMaxRange () const |
| Get the min and max range of the descriptor. | |
| virtual size_t | getNbDescriptors () const |
| Get the number of the descriptor. | |
Additional Inherited Members | |
Protected Attributes inherited from Selector::MapElites::MapElitesDescriptor | |
| size_t | nbDescriptors |
| Number of descriptor. | |
| double | minRange |
| Minimum value in the archive. | |
| double | maxRange |
| Maximum value in the archive. | |
| bool | init = false |
Class for ActionValues descriptor.
This descriptor is designed for continuous environments (an update could be made to be used on discrete environments too but it might not be useful).
It computes the average of the absolute of the action values over an episode.
|
overridevirtual |
Specialisation of extractMetricsEpisode.
Reimplemented from Selector::MapElites::MapElitesDescriptor.
|
overridevirtual |
Specialisation of extractMetricsStep.
Reimplemented from Selector::MapElites::MapElitesDescriptor.
|
overridevirtual |
Specialisation of getName.
Implements Selector::MapElites::MapElitesDescriptor.
|
overridevirtual |
Specialisation of initDescriptor.
Implements Selector::MapElites::MapElitesDescriptor.