|
Darwin Neuroevolution Framework
|
Conquest domain configuration. More...
#include <game.h>
Public Attributes | |
| int | calibration_matches = 100 |
| "Number of calibration matches" | |
| BoardConfiguration | board = BoardConfiguration::Hexagon |
| "Board configuration name" | |
| int | max_steps = 2500 |
| "If no one wins before max_steps, the game is a tie" | |
| float | points_win = 1.0f |
| "Points for a win" | |
| float | points_lose = 0.0f |
| "Points for a lost game" | |
| float | points_draw = 0.4f |
| "Points for a draw" | |
| float | int_unit_scale = 10.0f |
| "A scaling factor to display units as integers" | |
| float | initial_units = 0.1f |
| "Initial units" | |
| float | production_cap = 1.05f |
| "Production cap per node" | |
| float | production_step = 0.005f |
| "Production step" | |
| float | deploy_min = 1.0f / int_unit_scale |
| "Minimum units required to deploy an attack" | |
| float | deploy_resolution = deploy_min |
| "Deployment resolution" | |
| float | units_speed = 1.0f |
| "Units move speed" | |
| float | deploy_percent = 0.99f |
| "What % of units are deployed? (0..1]" | |
| tournament::TournamentVariant | tournament_type = tournament::TournamentType::Swiss |
| "Tournament type" | |
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... | |
Conquest domain configuration.
1.8.14