Darwin Neuroevolution Framework
Public Attributes | List of all members
darwin::EvolutionConfig Struct Reference

Settings for an evolution experiment run. More...

#include <evolution.h>

Inheritance diagram for darwin::EvolutionConfig:
core::PropertySet core::NonCopyable

Public Attributes

int max_generations = 1000000
 "Automatically stop the experiment after the max number of generations"
 
bool save_champion_genotype = true
 "Save the best genotype from each generation"
 
FitnessInfoKind fitness_information = FitnessInfoKind::FullCompressed
 "What kind of fitness information to save"
 
bool save_genealogy = false
 "Save the genealogy information (can be very large!)"
 
ProfileInfoKind profile_information = ProfileInfoKind::GenerationOnly
 "Performance trace (counters/timings)"
 

Additional Inherited Members

- Public Member Functions inherited from core::PropertySet
vector< Property * > properties ()
 Accessor to the list of properties.
 
vector< const Property * > properties () const
 Accessor to the list of properties.
 
void resetToDefaultValues ()
 Resets all the properties to the default values.
 
void copyFrom (const PropertySet &src)
 Transfer values between two property sets.
 
void seal (bool sealed=true)
 After sealing a PropertySet, all attempts to modify it through the Property interface will throw an exception (even if setting to the same value)
 
bool sealed () const
 Returns true if the property set is sealed.
 
void onPropertyChange (const Property *property)
 Called before updating a property value.
 
json toJson () const
 Serialize all the properties to a json object. More...
 
void fromJson (const json &json_obj)
 Deserialize a set of properties from a json object. More...
 

Detailed Description

Settings for an evolution experiment run.


The documentation for this struct was generated from the following file: