Struct movingai::SceneRecord
[−]
[src]
pub struct SceneRecord { pub bucket: u32, pub map_file: String, pub map_width: usize, pub map_height: usize, pub start_pos: Coords2D, pub goal_pos: Coords2D, pub optimal_length: f64, }
Represent a row (scene) in a scene file.
Fields
bucket: u32
Used to cluster pqth queries in the benchmark.
map_file: String
Neme of the map file associated to the scene.
map_width: usize
Width of the map.
map_height: usize
Height of the map.
start_pos: Coords2D
Starting position.
goal_pos: Coords2D
Goal position.
optimal_length: f64
Optimal lenght of the path.