|
Darwin Neuroevolution Framework
|
Pong domain configuration. More...
#include <game.h>
Public Attributes | |
| float | paddle_size = 0.1f |
| "(0, 1)" | |
| float | paddle_speed = 0.02f |
| "(0, inf)" | |
| float | paddle_offset = 0.04f |
| "Horizontal distance from the board edge" | |
| float | ball_radius = 0.01f |
| "Ball size" | |
| float | ball_speed = 0.04f |
| "Ball speed" | |
| float | serve_speed = 0.04f |
| "Ball speed before first return" | |
| int | calibration_games = 100 |
| "Number of calibration games" | |
| int | max_steps = 2500 |
| "If no one scores before max_steps, the game is a draw" | |
| int | sets_per_game = 10 |
| "Sets per game" | |
| int | sets_required_to_win = 6 |
| "The minimum number of sets required to win" | |
| bool | simple_serve = false |
| "Fixed serving angle" | |
| float | points_win = 1.0f |
| "Points for a win" | |
| float | points_lose = 0 |
| "Points for a lost game" | |
| float | points_draw = 0.4f |
| "Points for a tie" | |
| 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... | |
Pong domain configuration.
1.8.14