Home
last modified time | relevance | path

Searched refs:IntersectionID (Results 1 – 25 of 56) sorted by relevance

123

/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/make/
H A Dtraffic_signals.rs2 ControlTrafficSignal, IntersectionCluster, IntersectionID, Map, Movement, MovementID,
11 id: IntersectionID, in get_possible_policies() argument
68 fn new(id: IntersectionID, map: &Map) -> ControlTrafficSignal { in new() argument
77 fn greedy_assignment(map: &Map, i: IntersectionID) -> ControlTrafficSignal { in greedy_assignment()
110 fn degenerate(map: &Map, i: IntersectionID) -> Option<ControlTrafficSignal> { in degenerate()
127 fn half_signal(map: &Map, i: IntersectionID) -> Option<ControlTrafficSignal> { in half_signal()
149 fn three_way(map: &Map, i: IntersectionID) -> Option<ControlTrafficSignal> { in three_way()
255 fn four_oneways(map: &Map, i: IntersectionID) -> Option<ControlTrafficSignal> { in four_oneways()
299 fn all_walk_all_yield(map: &Map, i: IntersectionID) -> ControlTrafficSignal { in all_walk_all_yield()
321 fn stage_per_road(map: &Map, i: IntersectionID) -> Option<ControlTrafficSignal> { in stage_per_road()
[all …]
H A Dmod.rs15 Direction, Intersection, IntersectionID, IntersectionType, Lane, LaneID, Map, MapEdits,
63 let mut intersection_id_mapping: BTreeMap<osm::NodeID, IntersectionID> = BTreeMap::new(); in create_from_raw()
65 let id = IntersectionID(idx); in create_from_raw()
290 let mut stop_signs: BTreeMap<IntersectionID, ControlStopSign> = BTreeMap::new(); in create_from_raw()
291 let mut traffic_signals: BTreeMap<IntersectionID, ControlTrafficSignal> = BTreeMap::new(); in create_from_raw()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/sim/src/
H A Devents.rs6 BuildingID, BusRouteID, BusStopID, CompressedMovementID, IntersectionID, LaneID, Map, Path,
31 IntersectionID,
34 PersonEntersMap(PersonID, AgentID, IntersectionID, Option<OffMapLocation>),
66 Intersection(IntersectionID),
H A Drouter.rs8 BuildingID, IntersectionID, LaneID, Map, Path, PathConstraints, PathRequest, PathStep,
24 VanishAtBorder(IntersectionID),
45 i: IntersectionID,
60 i: IntersectionID, in end_at_border() argument
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/objects/
H A Dlane.rs3 osm, BusStopID, DirectedRoadID, Direction, IntersectionID, Map, PathConstraints, Road, RoadID,
112 pub src_i: IntersectionID,
113 pub dst_i: IntersectionID,
139 pub fn endpoint(&self, i: IntersectionID) -> Pt2D { in endpoint()
150 pub fn end_line(&self, i: IntersectionID) -> Line { in end_line()
170 pub fn intersections(&self) -> Vec<IntersectionID> { in intersections() argument
H A Droad.rs3 osm, AccessRestrictions, BusStopID, IntersectionID, Lane, LaneID, LaneType, Map,
64 pub fn src_i(self, map: &Map) -> IntersectionID { in src_i() argument
73 pub fn dst_i(self, map: &Map) -> IntersectionID { in dst_i() argument
110 pub src_i: IntersectionID,
111 pub dst_i: IntersectionID,
329 pub fn common_endpt(&self, other: &Road) -> IntersectionID { in common_endpt() argument
423 pub(crate) fn incoming_lanes(&self, i: IntersectionID) -> Vec<(LaneID, LaneType)> { in incoming_lanes()
434 pub(crate) fn outgoing_lanes(&self, i: IntersectionID) -> Vec<(LaneID, LaneType)> { in outgoing_lanes()
H A Dstop_signs.rs1 use crate::{osm, IntersectionID, LaneID, Map, RoadID, TurnID, TurnPriority, TurnType};
32 pub id: IntersectionID,
47 pub fn new(map: &Map, id: IntersectionID) -> ControlStopSign { in new()
H A Dtraffic_signals.rs4 osm, CompressedMovementID, DirectedRoadID, Direction, IntersectionID, Map, Movement,
15 pub id: IntersectionID,
54 pub fn new(map: &Map, id: IntersectionID, timer: &mut Timer) -> ControlTrafficSignal { in new() argument
64 id: IntersectionID, in get_possible_policies() argument
70 pub fn brute_force(map: &Map, id: IntersectionID) { in brute_force() argument
295 id: IntersectionID, in import() argument
H A Dturn.rs1 use crate::{DirectedRoadID, Direction, IntersectionID, LaneID, Map};
12 pub parent: IntersectionID,
182 pub parent: IntersectionID,
189 pub i: IntersectionID,
208 i: IntersectionID, in for_i() argument
H A Dintersection.rs9 pub struct IntersectionID( struct
17 impl fmt::Display for IntersectionID { implementation
33 pub id: IntersectionID,
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/importer/src/soundcast/
H A Dtrips.rs4 use map_model::{osm, BuildingID, IntersectionID, Map, PathConstraints, PathRequest, PathStep};
25 &Vec<(IntersectionID, LonLat)>, in endpoints() argument
26 &Vec<(IntersectionID, LonLat)>, in endpoints()
160 let incoming_borders_walking: Vec<(IntersectionID, LonLat)> = map in clip_trips()
169 let incoming_borders_driving: Vec<(IntersectionID, LonLat)> = map in clip_trips()
175 let incoming_borders_biking: Vec<(IntersectionID, LonLat)> = map in clip_trips()
181 let outgoing_borders_walking: Vec<(IntersectionID, LonLat)> = map in clip_trips()
191 let outgoing_borders_driving: Vec<(IntersectionID, LonLat)> = map in clip_trips()
201 let outgoing_borders_biking: Vec<(IntersectionID, LonLat)> = map in clip_trips()
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/info/
H A Dintersection.rs8 use map_model::{IntersectionID, IntersectionType, PhaseType};
16 pub fn info(ctx: &EventCtx, app: &App, details: &mut Details, id: IntersectionID) -> Vec<Widget> { in info()
46 id: IntersectionID, in traffic() argument
99 id: IntersectionID, in delay() argument
132 id: IntersectionID, in current_demand() argument
214 id: IntersectionID, in arrivals() argument
240 id: IntersectionID, in traffic_signal() argument
306 i: IntersectionID, in delay_plot() argument
363 id: IntersectionID, in header() argument
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/sim/src/mechanics/
H A Dintersection.rs7 ControlStopSign, ControlTrafficSignal, IntersectionID, LaneID, Map, PhaseType, RoadID,
18 state: BTreeMap<IntersectionID, State>,
31 id: IntersectionID,
108 pub fn nobody_headed_towards(&self, lane: LaneID, i: IntersectionID) -> bool { in nobody_headed_towards()
152 i: IntersectionID, in space_freed() argument
233 id: IntersectionID, in update_intersection() argument
439 pub fn debug(&self, id: IntersectionID, map: &Map) { in debug() argument
450 pub fn get_accepted_agents(&self, id: IntersectionID) -> HashSet<AgentID> { in get_accepted_agents()
480 ) -> Vec<(IntersectionID, Time)> { in delayed_intersections() argument
500 BTreeMap<IntersectionID, Duration>, in worst_delay() argument
[all …]
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/
H A Dmap.rs4 BusStopID, ControlStopSign, ControlTrafficSignal, Intersection, IntersectionID, Lane, LaneID,
192 pub fn maybe_get_i(&self, id: IntersectionID) -> Option<&Intersection> { in maybe_get_i()
216 pub fn maybe_get_stop_sign(&self, id: IntersectionID) -> Option<&ControlStopSign> { in maybe_get_stop_sign()
220 pub fn maybe_get_traffic_signal(&self, id: IntersectionID) -> Option<&ControlTrafficSignal> { in maybe_get_traffic_signal()
236 pub fn get_i(&self, id: IntersectionID) -> &Intersection { in get_i()
261 pub fn get_stop_sign(&self, id: IntersectionID) -> &ControlStopSign { in get_stop_sign()
265 pub fn get_traffic_signal(&self, id: IntersectionID) -> &ControlTrafficSignal { in get_traffic_signal()
273 id: IntersectionID, in get_turns_in_intersection() argument
323 parent: IntersectionID, in get_turn_between() argument
335 parent: IntersectionID, in get_next_turns_and_lanes() argument
[all …]
H A Dlib.rs22 pub use crate::objects::intersection::{Intersection, IntersectionID, IntersectionType};
70 stop_signs: BTreeMap<IntersectionID, ControlStopSign>,
71 traffic_signals: BTreeMap<IntersectionID, ControlTrafficSignal>,
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/pathfind/
H A Duber_turns.rs1 use crate::{DirectedRoadID, Direction, IntersectionID, LaneID, Map, TurnID};
12 pub members: BTreeSet<IntersectionID>,
37 let mut graph: UnGraphMap<IntersectionID, ()> = UnGraphMap::new(); in find_all()
46 let members: BTreeSet<IntersectionID> = intersections.iter().cloned().collect(); in find_all()
85 members: BTreeSet<IntersectionID>, in new() argument
154 pub fn autodetect(from: IntersectionID, map: &Map) -> Option<BTreeSet<IntersectionID>> { in autodetect() argument
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/edit/
H A Dselect.rs5 use map_model::{IntersectionID, Map, RoadID};
23 i1: Option<IntersectionID>,
24 preview_path: Option<(IntersectionID, Vec<RoadID>, Drawable)>,
329 fn pathfind(map: &Map, i1: IntersectionID, i2: IntersectionID) -> Option<Vec<RoadID>> { in pathfind() argument
330 let mut graph: UnGraphMap<IntersectionID, RoadID> = UnGraphMap::new(); in pathfind()
H A Dcluster_traffic_signals.rs5 use map_model::{IntersectionCluster, IntersectionID};
15 members: BTreeSet<IntersectionID>,
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/edit/traffic_signals/
H A Dpicker.rs7 use map_model::IntersectionID;
15 members: BTreeSet<IntersectionID>,
23 members: BTreeSet<IntersectionID>, in new() argument
H A Dmod.rs15 ControlTrafficSignal, EditCmd, EditIntersection, IntersectionID, Movement, MovementID,
31 members: BTreeSet<IntersectionID>,
58 members: BTreeSet<IntersectionID>, in new() argument
256 let offsets: HashMap<IntersectionID, Duration> = self in event()
560 members: &BTreeSet<IntersectionID>, in make_side_panel() argument
562 hovering: Option<IntersectionID>, in make_side_panel() argument
751 fn get_current(app: &App, members: &BTreeSet<IntersectionID>) -> BundleEdits { in get_current()
761 fn synchronize(app: &App, members: &BTreeSet<IntersectionID>) -> BundleEdits { in synchronize()
788 fn check_for_missing_turns(app: &App, members: &BTreeSet<IntersectionID>) -> Option<BundleEdits> { in check_for_missing_turns()
820 members: &BTreeSet<IntersectionID>, in draw_multiple_signals() argument
[all …]
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/map_model/src/edits/
H A Dmod.rs7 IntersectionID, IntersectionType, LaneType, Map, PathConstraints, Pathfinder, Road, RoadID,
23 pub original_intersections: BTreeMap<IntersectionID, EditIntersection>,
69 i: IntersectionID,
82 pub changed_intersections: BTreeSet<IntersectionID>,
330 id: IntersectionID, in recalculate_turns() argument
406 pub fn get_i_edit(&self, i: IntersectionID) -> EditIntersection { in get_i_edit()
434 BTreeSet<IntersectionID>, in must_apply_edits() argument
455 BTreeSet<IntersectionID>, in apply_edits() argument
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/sandbox/dashboards/
H A Dtraffic_signals.rs7 use map_model::{IntersectionID, MovementID, PathStep, TurnType};
17 all_demand: HashMap<IntersectionID, Demand>,
100 fn all_demand(app: &App, timer: &mut Timer) -> HashMap<IntersectionID, Demand> { in all_demand() argument
163 all_demand: &HashMap<IntersectionID, Demand>, in draw_demand() argument
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/sandbox/
H A Duber_turns.rs8 use map_model::{IntersectionCluster, IntersectionID};
17 members: BTreeSet<IntersectionID>,
22 pub fn new(ctx: &mut EventCtx, app: &App, i: IntersectionID) -> Box<dyn State> { in new()
144 members: BTreeSet<IntersectionID>, in new() argument
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/game/src/render/
H A Dmod.rs27 use map_model::{IntersectionID, Map};
74 pub suppress_traffic_signal_details: Vec<IntersectionID>,
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/headless/src/
H A Dmain.rs16 CompressedMovementID, ControlTrafficSignal, EditCmd, EditIntersection, IntersectionID, Map,
113 let i = IntersectionID(params["id"].parse::<usize>()?); in handle_command()
138 let i = IntersectionID(params["id"].parse::<usize>()?); in handle_command()
168 let i = IntersectionID(params["id"].parse::<usize>()?); in handle_command()

123