Darwin Neuroevolution Framework
|
Harvester domain configuration. More...
#include <world_map.h>
Public Attributes | |
int | test_maps = 5 |
"Number of test maps" | |
int | map_width = 64 |
"Map width" | |
int | map_height = 64 |
"Map height" | |
int | map_walls = 70 |
"Number of generated walls" | |
int | map_good_fruits = 40 |
"Number of 'good' fruits" | |
int | map_junk_fruits = 30 |
"Number of 'junk' fruits" | |
int | map_bad_fruits = 30 |
"Number of 'bad' fruits" | |
int | vision_resolution = 3 |
"Number of vision rays" | |
double | vision_fov = math::degreesToRadians(60.0) |
"Vision field of view (in radians)" | |
double | robot_size = 0.6 |
"Robot size" | |
bool | exclusive_actuators = true |
"At each step, the robot can either move or turn, but not both" | |
double | move_speed = 1 |
"Move speed" | |
double | rotation_speed = math::degreesToRadians(3.0) |
"Rotation speed (in radians)" | |
int | initial_health = 1000 |
"Initial health" | |
double | forward_move_drain = 2 |
"Health drain when moving forward" | |
double | reverse_move_drain = 6 |
"Health drain when moving backward" | |
int | good_fruit_health = 30 |
"Health update when eating a 'good' fruit" | |
int | junk_fruit_health = 5 |
"Health update when eating a 'junk' fruit" | |
int | bad_fruit_health = -100 |
"Health update when eating a 'bad' fruit" | |
Additional Inherited Members | |
![]() | |
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... | |
Harvester domain configuration.