File size: 2,297 Bytes
17c74e6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
    "physics_and_grid": {
        "cell_size_meters": 0.5,
        "pedestrian_speed_mps": 1.2,
        "time_step_seconds": 0.4,
        "max_simulation_steps": 1000
    },
    "morphology_and_thresholds": {
        "wall_dilation_disk_radius": 2,
        "door_dilation_disk_radius": 2,
        "thick_wall_for_door_disk_radius": 10,
        "min_door_pixel_size": 20,
        "max_door_pixel_size": 600,
        "min_room_pixel_size": 100,
        "door_color_difference_threshold": 20,
        "door_puncture_kernel_size": [
            9,
            9
        ],
        "bg_dilation_kernel_size": [
            7,
            7
        ]
    },
    "agent_initialization": {
        "capacity_factor_pixels": 700,
        "placement_rule": "random_uniform_in_rooms",
        "min_agents_clip": 5,
        "max_agents_clip": 150,
        "occupancy_rate_min": 0.4,
        "occupancy_rate_max": 0.8,
        "density_levels": {
            "agent_sparse": 0.35,
            "agent_normal": 0.5,
            "agent_medium": 0.7,
            "agent_dense": 0.85,
            "agent_extreme": 1.0
        }
    },
    "movement_and_cellular_automata": {
        "neighborhood": "Moore_8_directional",
        "step_costs": {
            "orthogonal": 1.0,
            "diagonal": 1.414
        },
        "target_selection_rule": "global_dijkstra_bfs",
        "multi_exit_rule": "nearest_exit_static_potential",
        "candidate_pool_size": 3,
        "corner_cutting_prevention": true,
        "collision_resolution": "random_shuffle_serial_update"
    },
    "crowding_and_friction": {
        "enable_density_speed_reduction": true,
        "local_radius_cells": 2,
        "jam_density_threshold": 5.0,
        "min_speed_factor": 0.2
    },
    "visualization_and_heatmap": {
        "agent_point_radius": 2,
        "gaussian_kernel_size": [
            15,
            15
        ],
        "gaussian_sigma": 3.0,
        "normalization_method": "max_scaling_to_255",
        "heatmap_colormap": "COLORMAP_JET",
        "heatmap_alpha": 0.4,
        "background_alpha": 0.6,
        "output_snapshot_count": 6
    },
    "io_and_execution": {
        "output_dir": "sim_preview_results",
        "limit_plans": 5,
        "batch_save_interval": 50,
        "random_seed": 42
    }
}