|
Darwin Neuroevolution Framework
|
Ballistics domain configuration. More...
#include <ballistics.h>
Public Attributes | |
| float | gravity = 9.8f |
| "Gravitational acceleration" | |
| float | range_min_x = 0.0f |
| "Min target x coordinate" | |
| float | range_max_x = 10.0f |
| "Max target x coordinate" | |
| float | range_min_y = -2.5f |
| "Min target y coordinate" | |
| float | range_max_y = 2.5f |
| "Max target y coordinate" | |
| float | target_radius = 0.1f |
| "Target radius" | |
| float | target_hit_bonus = 0.5f |
| "Extra score for hitting the target [0..1]" | |
| float | projectile_radius = 0.1f |
| "Projectile size" | |
| float | projectile_velocity = 12.0f |
| "Initial projectile velocity" | |
| int | test_worlds = 5 |
| "Number of test worlds per generation" | |
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... | |
Ballistics domain configuration.
1.8.14