From 27c488187ea904465f85b54466a74c697d38a0c9 Mon Sep 17 00:00:00 2001 From: kngwyu Date: Wed, 2 Oct 2024 18:21:41 +0900 Subject: [PATCH] More poisonous foods? --- config/env/20241002-poison-2-1.toml | 38 +++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 config/env/20241002-poison-2-1.toml diff --git a/config/env/20241002-poison-2-1.toml b/config/env/20241002-poison-2-1.toml new file mode 100644 index 0000000..6028144 --- /dev/null +++ b/config/env/20241002-poison-2-1.toml @@ -0,0 +1,38 @@ +n_initial_agents = 100 +n_max_agents = 240 +n_max_foods = 150 +n_food_sources = 2 +observe_food_label = true +food_num_fn = [ + ["linear", 20, 0.2, 100], + ["linear", 20, 0.2, 50], +] +food_loc_fn = ["uniform", "uniform"] +food_color = [[254, 2, 162, 255], [2, 254, 162, 255]] +food_energy_coef = [1.0, -0.5] +agent_loc_fn = "uniform" +xlim = [0.0, 480.0] +ylim = [0.0, 480.0] +env_shape = "square" +neighbor_stddev = 100.0 +n_agent_sensors = 24 +sensor_length = 200.0 +sensor_range = "wide" +agent_radius = 10.0 +food_radius = 4.0 +foodloc_interval = 1000 +dt = 0.1 +linear_damping = 0.8 +angular_damping = 0.6 +max_force = 80.0 +min_force = -20.0 +init_energy = 80.0 +energy_capacity = 400.0 +force_energy_consumption = 1e-5 +basic_energy_consumption = 5e-4 +energy_share_ratio = 0.4 +n_velocity_iter = 6 +n_position_iter = 2 +n_physics_iter = 5 +max_place_attempts = 10 +n_max_food_regen = 10 \ No newline at end of file