Darwin Neuroevolution Framework
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Attributes | List of all members
tournament::SwissTournamentConfig Struct Reference

SwissTournament configuration. More...

#include <swiss_tournament.h>

Inheritance diagram for tournament::SwissTournamentConfig:
core::PropertySet core::NonCopyable

Public Attributes

int rounds = 20
 "Number of tournament rounds"
 
bool rematches = true
 "Play both-side rematches?"
 

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

SwissTournament configuration.


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