diff --git a/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html b/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html index 60e43776f0..13f19ed28b 100644 --- a/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html +++ b/rustdoc/game/pregame/built_info/constant.BUILT_TIME_UTC.html @@ -1,5 +1,5 @@ game::pregame::built_info::BUILT_TIME_UTC - Rust

[][src]Constant game::pregame::built_info::BUILT_TIME_UTC

pub const BUILT_TIME_UTC: &str = "Mon, 11 Jan 2021 19:26:36 +0000";

The built-time in RFC2822, UTC

+ Change settings

[][src]Constant game::pregame::built_info::BUILT_TIME_UTC

pub const BUILT_TIME_UTC: &str = "Mon, 11 Jan 2021 22:01:23 +0000";

The built-time in RFC2822, UTC

\ No newline at end of file diff --git a/rustdoc/map_model/make/fn.match_points_to_lanes.html b/rustdoc/map_model/make/fn.match_points_to_lanes.html index 89b72cf7c7..fa6a257856 100644 --- a/rustdoc/map_model/make/fn.match_points_to_lanes.html +++ b/rustdoc/map_model/make/fn.match_points_to_lanes.html @@ -1,6 +1,6 @@ map_model::make::match_points_to_lanes - Rust

[][src]Function map_model::make::match_points_to_lanes

fn match_points_to_lanes<F: Fn(&Lane) -> bool>(
    bounds: &Bounds,
    pts: HashSet<HashablePt2D>,
    lanes: &Vec<Lane>,
    filter: F,
    buffer: Distance,
    max_dist_away: Distance,
    timer: &mut Timer<'_>
) -> HashMap<HashablePt2D, Position>

Snap points to an exact Position along the nearest lane. If the result doesn't contain a + Change settings

[][src]Function map_model::make::match_points_to_lanes

fn match_points_to_lanes<F: Fn(&Lane) -> bool>(
    bounds: &Bounds,
    pts: HashSet<HashablePt2D>,
    lanes: &Vec<Lane>,
    filter: F,
    buffer: Distance,
    max_dist_away: Distance,
    timer: &mut Timer<'_>
) -> HashMap<HashablePt2D, Position>

Snap points to an exact Position along the nearest lane. If the result doesn't contain a requested point, then there was no matching lane close enough.

\ No newline at end of file diff --git a/rustdoc/map_model/make/index.html b/rustdoc/map_model/make/index.html index ed2e6c01bd..12b2640433 100644 --- a/rustdoc/map_model/make/index.html +++ b/rustdoc/map_model/make/index.html @@ -1,7 +1,7 @@ map_model::make - Rust

[][src]Module map_model::make

[][src]Module map_model::make

See https://dabreegster.github.io/abstreet/map/importing/index.html for an overview. This module covers the RawMap->Map stage.

Modules

bridges
buildings
initial

Naming is confusing, but RawMap -> InitialMap -> Map. InitialMap is separate pretty much just diff --git a/rustdoc/map_model/make/traffic_signals/constant.PROTECTED.html b/rustdoc/map_model/make/traffic_signals/constant.PROTECTED.html index 8927cf998d..0046f9abb2 100644 --- a/rustdoc/map_model/make/traffic_signals/constant.PROTECTED.html +++ b/rustdoc/map_model/make/traffic_signals/constant.PROTECTED.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::PROTECTED - Rust

[][src]Constant map_model::make::traffic_signals::PROTECTED

const PROTECTED: bool = true;
\ No newline at end of file + Change settings

[][src]Constant map_model::make::traffic_signals::PROTECTED

const PROTECTED: bool = true;
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/constant.YIELD.html b/rustdoc/map_model/make/traffic_signals/constant.YIELD.html index 9520c5ccbe..7ba7b65c97 100644 --- a/rustdoc/map_model/make/traffic_signals/constant.YIELD.html +++ b/rustdoc/map_model/make/traffic_signals/constant.YIELD.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::YIELD - Rust

[][src]Constant map_model::make::traffic_signals::YIELD

const YIELD: bool = false;
\ No newline at end of file + Change settings

[][src]Constant map_model::make::traffic_signals::YIELD

const YIELD: bool = false;
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.all_walk_all_yield.html b/rustdoc/map_model/make/traffic_signals/fn.all_walk_all_yield.html index f081e16445..91c2722786 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.all_walk_all_yield.html +++ b/rustdoc/map_model/make/traffic_signals/fn.all_walk_all_yield.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::all_walk_all_yield - Rust

[][src]Function map_model::make::traffic_signals::all_walk_all_yield

fn all_walk_all_yield(map: &Map, i: IntersectionID) -> ControlTrafficSignal
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::all_walk_all_yield

fn all_walk_all_yield(map: &Map, i: IntersectionID) -> ControlTrafficSignal
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.brute_force.html b/rustdoc/map_model/make/traffic_signals/fn.brute_force.html index 8b721f2938..a2dda1a2b2 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.brute_force.html +++ b/rustdoc/map_model/make/traffic_signals/fn.brute_force.html @@ -1,5 +1,5 @@ map_model::make::traffic_signals::brute_force - Rust

[][src]Function map_model::make::traffic_signals::brute_force

pub fn brute_force(map: &Map, i: IntersectionID)

Temporary experiment to group all movements into the smallest number of stages.

+ Change settings

[][src]Function map_model::make::traffic_signals::brute_force

pub fn brute_force(map: &Map, i: IntersectionID)

Temporary experiment to group all movements into the smallest number of stages.

\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.degenerate.html b/rustdoc/map_model/make/traffic_signals/fn.degenerate.html index 347c775667..6e10e58135 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.degenerate.html +++ b/rustdoc/map_model/make/traffic_signals/fn.degenerate.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::degenerate - Rust

[][src]Function map_model::make::traffic_signals::degenerate

fn degenerate(map: &Map, i: IntersectionID) -> Option<ControlTrafficSignal>
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::degenerate

fn degenerate(map: &Map, i: IntersectionID) -> Option<ControlTrafficSignal>
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.expand_all_stages.html b/rustdoc/map_model/make/traffic_signals/fn.expand_all_stages.html index 8a3520f6b1..b9d82db8ba 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.expand_all_stages.html +++ b/rustdoc/map_model/make/traffic_signals/fn.expand_all_stages.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::expand_all_stages - Rust

[][src]Function map_model::make::traffic_signals::expand_all_stages

fn expand_all_stages(ts: &mut ControlTrafficSignal)
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::expand_all_stages

fn expand_all_stages(ts: &mut ControlTrafficSignal)
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.four_way_four_stage.html b/rustdoc/map_model/make/traffic_signals/fn.four_way_four_stage.html index e088b85e5d..ad737540d3 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.four_way_four_stage.html +++ b/rustdoc/map_model/make/traffic_signals/fn.four_way_four_stage.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::four_way_four_stage - Rust

[][src]Function map_model::make::traffic_signals::four_way_four_stage

fn four_way_four_stage(
    map: &Map,
    i: IntersectionID
) -> Option<ControlTrafficSignal>
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::four_way_four_stage

fn four_way_four_stage(
    map: &Map,
    i: IntersectionID
) -> Option<ControlTrafficSignal>
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.four_way_two_stage.html b/rustdoc/map_model/make/traffic_signals/fn.four_way_two_stage.html index 2aeac86e17..a6d9f45da5 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.four_way_two_stage.html +++ b/rustdoc/map_model/make/traffic_signals/fn.four_way_two_stage.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::four_way_two_stage - Rust

[][src]Function map_model::make::traffic_signals::four_way_two_stage

fn four_way_two_stage(
    map: &Map,
    i: IntersectionID
) -> Option<ControlTrafficSignal>
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::four_way_two_stage

fn four_way_two_stage(
    map: &Map,
    i: IntersectionID
) -> Option<ControlTrafficSignal>
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.get_possible_policies.html b/rustdoc/map_model/make/traffic_signals/fn.get_possible_policies.html index 310096edab..efe07ff2cb 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.get_possible_policies.html +++ b/rustdoc/map_model/make/traffic_signals/fn.get_possible_policies.html @@ -1,7 +1,10 @@ map_model::make::traffic_signals::get_possible_policies - Rust

[][src]Function map_model::make::traffic_signals::get_possible_policies

pub fn get_possible_policies(
    map: &Map,
    id: IntersectionID
) -> Vec<(String, ControlTrafficSignal)>

Applies a bunch of heuristics to a single intersection, returning the valid results in + Change settings

[][src]Function map_model::make::traffic_signals::get_possible_policies

pub fn get_possible_policies(
    map: &Map,
    id: IntersectionID,
    enforce_manual_signals: bool
) -> Vec<(String, ControlTrafficSignal)>

Applies a bunch of heuristics to a single intersection, returning the valid results in best-first order. The signal configuration is only based on the roads connected to the intersection.

+

If enforce_manual_signals is true, then any data from the traffic_signal_data crate that +matches the map will be validated against the current map. If the config is out-of-date, this +method will panic, so that whoever is running the importer can immediately fix the config.

\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.get_sorted_incoming_roads.html b/rustdoc/map_model/make/traffic_signals/fn.get_sorted_incoming_roads.html index 30dff5871d..df5703d74b 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.get_sorted_incoming_roads.html +++ b/rustdoc/map_model/make/traffic_signals/fn.get_sorted_incoming_roads.html @@ -1,7 +1,7 @@ map_model::make::traffic_signals::get_sorted_incoming_roads - Rust

[][src]Function map_model::make::traffic_signals::get_sorted_incoming_roads

fn get_sorted_incoming_roads(i: IntersectionID, map: &Map) -> Vec<RoadID>

Return all incoming roads to an intersection, sorted by angle. This skips one-way roads + Change settings

[][src]Function map_model::make::traffic_signals::get_sorted_incoming_roads

fn get_sorted_incoming_roads(i: IntersectionID, map: &Map) -> Vec<RoadID>

Return all incoming roads to an intersection, sorted by angle. This skips one-way roads outbound from the intersection, since no turns originate from those anyway. This allows heuristics for a 3-way intersection to not care if one of the roads happens to be a dual carriageway (split into two one-ways).

diff --git a/rustdoc/map_model/make/traffic_signals/fn.greedy_assignment.html b/rustdoc/map_model/make/traffic_signals/fn.greedy_assignment.html index 4e7ebf27eb..f086391a99 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.greedy_assignment.html +++ b/rustdoc/map_model/make/traffic_signals/fn.greedy_assignment.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::greedy_assignment - Rust

[][src]Function map_model::make::traffic_signals::greedy_assignment

fn greedy_assignment(map: &Map, i: IntersectionID) -> ControlTrafficSignal
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::greedy_assignment

fn greedy_assignment(map: &Map, i: IntersectionID) -> ControlTrafficSignal
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.half_signal.html b/rustdoc/map_model/make/traffic_signals/fn.half_signal.html index 0e9b31b5fd..88af6b90df 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.half_signal.html +++ b/rustdoc/map_model/make/traffic_signals/fn.half_signal.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::half_signal - Rust

[][src]Function map_model::make::traffic_signals::half_signal

fn half_signal(map: &Map, i: IntersectionID) -> Option<ControlTrafficSignal>
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::half_signal

fn half_signal(map: &Map, i: IntersectionID) -> Option<ControlTrafficSignal>
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.helper.html b/rustdoc/map_model/make/traffic_signals/fn.helper.html index da46f4417c..b58c95030d 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.helper.html +++ b/rustdoc/map_model/make/traffic_signals/fn.helper.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::helper - Rust

[][src]Function map_model::make::traffic_signals::helper

fn helper(items: &[usize], max_size: usize) -> Vec<Partition>
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::helper

fn helper(items: &[usize], max_size: usize) -> Vec<Partition>
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.make_stages.html b/rustdoc/map_model/make/traffic_signals/fn.make_stages.html index 43eb6fe561..f297c8e784 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.make_stages.html +++ b/rustdoc/map_model/make/traffic_signals/fn.make_stages.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::make_stages - Rust

[][src]Function map_model::make::traffic_signals::make_stages

fn make_stages(
    ts: &mut ControlTrafficSignal,
    stage_specs: Vec<Vec<(Vec<RoadID>, TurnType, bool)>>
)
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::make_stages

fn make_stages(
    ts: &mut ControlTrafficSignal,
    stage_specs: Vec<Vec<(Vec<RoadID>, TurnType, bool)>>
)
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.new.html b/rustdoc/map_model/make/traffic_signals/fn.new.html index 5576cc61be..4a05dc1f18 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.new.html +++ b/rustdoc/map_model/make/traffic_signals/fn.new.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::new - Rust

[][src]Function map_model::make::traffic_signals::new

fn new(id: IntersectionID, map: &Map) -> ControlTrafficSignal
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::new

fn new(id: IntersectionID, map: &Map) -> ControlTrafficSignal
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.okay_partition.html b/rustdoc/map_model/make/traffic_signals/fn.okay_partition.html index 27ccf8f43e..8b6866d5ff 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.okay_partition.html +++ b/rustdoc/map_model/make/traffic_signals/fn.okay_partition.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::okay_partition - Rust

[][src]Function map_model::make::traffic_signals::okay_partition

fn okay_partition(movements: Vec<&Movement>, partition: Partition) -> bool
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::okay_partition

fn okay_partition(movements: Vec<&Movement>, partition: Partition) -> bool
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.stage_per_road.html b/rustdoc/map_model/make/traffic_signals/fn.stage_per_road.html index 39be70dcb2..ca17f2de95 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.stage_per_road.html +++ b/rustdoc/map_model/make/traffic_signals/fn.stage_per_road.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::stage_per_road - Rust

[][src]Function map_model::make::traffic_signals::stage_per_road

fn stage_per_road(map: &Map, i: IntersectionID) -> ControlTrafficSignal
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::stage_per_road

fn stage_per_road(map: &Map, i: IntersectionID) -> ControlTrafficSignal
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/fn.synchronize.html b/rustdoc/map_model/make/traffic_signals/fn.synchronize.html index 52496b1c1d..a53d4813d8 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.synchronize.html +++ b/rustdoc/map_model/make/traffic_signals/fn.synchronize.html @@ -1,7 +1,7 @@ map_model::make::traffic_signals::synchronize - Rust

[][src]Function map_model::make::traffic_signals::synchronize

pub fn synchronize(map: &mut Map)

Simple second-pass after generating all signals. Find pairs of traffic signals very close to + Change settings

[][src]Function map_model::make::traffic_signals::synchronize

pub fn synchronize(map: &mut Map)

Simple second-pass after generating all signals. Find pairs of traffic signals very close to each other with 2 stages each, see if the primary movement of the first stages lead to each other, and flip the order of stages if not. This is often wrong when the most common movement is actually turning left then going straight (near Mercer for example), but not sure how we could diff --git a/rustdoc/map_model/make/traffic_signals/fn.three_way.html b/rustdoc/map_model/make/traffic_signals/fn.three_way.html index cb9c076882..3d30f3a78a 100644 --- a/rustdoc/map_model/make/traffic_signals/fn.three_way.html +++ b/rustdoc/map_model/make/traffic_signals/fn.three_way.html @@ -1,4 +1,4 @@ map_model::make::traffic_signals::three_way - Rust

[][src]Function map_model::make::traffic_signals::three_way

fn three_way(map: &Map, i: IntersectionID) -> Option<ControlTrafficSignal>
\ No newline at end of file + Change settings

[][src]Function map_model::make::traffic_signals::three_way

fn three_way(map: &Map, i: IntersectionID) -> Option<ControlTrafficSignal>
\ No newline at end of file diff --git a/rustdoc/map_model/make/traffic_signals/index.html b/rustdoc/map_model/make/traffic_signals/index.html index 6ce7d47387..7a865566c5 100644 --- a/rustdoc/map_model/make/traffic_signals/index.html +++ b/rustdoc/map_model/make/traffic_signals/index.html @@ -1,7 +1,7 @@ map_model::make::traffic_signals - Rust

[][src]Module map_model::make::traffic_signals

Structs

+ Change settings

[][src]Module map_model::make::traffic_signals

Structs

Partition

Constants

PROTECTED
YIELD

Functions

all_walk_all_yield
brute_force

Temporary experiment to group all movements into the smallest number of stages.

diff --git a/rustdoc/map_model/make/traffic_signals/struct.Partition.html b/rustdoc/map_model/make/traffic_signals/struct.Partition.html index a47a7e5271..069baa8f69 100644 --- a/rustdoc/map_model/make/traffic_signals/struct.Partition.html +++ b/rustdoc/map_model/make/traffic_signals/struct.Partition.html @@ -1,7 +1,7 @@ map_model::make::traffic_signals::Partition - Rust

[][src]Struct map_model::make::traffic_signals::Partition

struct Partition(Vec<Vec<usize>>);

Trait Implementations

impl Clone for Partition[src]

[][src]Struct map_model::make::traffic_signals::Partition

struct Partition(Vec<Vec<usize>>);

Trait Implementations

impl Clone for Partition[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

[][src]Function map_model::objects::traffic_signals::export_movement

fn export_movement(id: &MovementID, map: &Map) -> Turn
\ No newline at end of file diff --git a/rustdoc/map_model/objects/traffic_signals/fn.find_r.html b/rustdoc/map_model/objects/traffic_signals/fn.find_r.html index 3c7462cde8..3ea9f2837b 100644 --- a/rustdoc/map_model/objects/traffic_signals/fn.find_r.html +++ b/rustdoc/map_model/objects/traffic_signals/fn.find_r.html @@ -1,4 +1,4 @@ map_model::objects::traffic_signals::find_r - Rust

[][src]Function map_model::objects::traffic_signals::find_r

fn find_r(id: DirectedRoad, map: &Map) -> Result<DirectedRoadID>
\ No newline at end of file + Change settings

[][src]Function map_model::objects::traffic_signals::find_r

fn find_r(id: DirectedRoad, map: &Map) -> Result<DirectedRoadID>
\ No newline at end of file diff --git a/rustdoc/map_model/objects/traffic_signals/fn.import_movement.html b/rustdoc/map_model/objects/traffic_signals/fn.import_movement.html index 965a19c966..e6af5884e3 100644 --- a/rustdoc/map_model/objects/traffic_signals/fn.import_movement.html +++ b/rustdoc/map_model/objects/traffic_signals/fn.import_movement.html @@ -1,4 +1,4 @@ map_model::objects::traffic_signals::import_movement - Rust

[][src]Function map_model::objects::traffic_signals::import_movement

fn import_movement(id: Turn, map: &Map) -> Result<MovementID>
\ No newline at end of file + Change settings

[][src]Function map_model::objects::traffic_signals::import_movement

fn import_movement(id: Turn, map: &Map) -> Result<MovementID>
\ No newline at end of file diff --git a/rustdoc/map_model/objects/traffic_signals/index.html b/rustdoc/map_model/objects/traffic_signals/index.html index 3782cdbb55..3936d6363c 100644 --- a/rustdoc/map_model/objects/traffic_signals/index.html +++ b/rustdoc/map_model/objects/traffic_signals/index.html @@ -1,7 +1,7 @@ map_model::objects::traffic_signals - Rust

[][src]Module map_model::objects::traffic_signals

Structs

+ Change settings

[][src]Module map_model::objects::traffic_signals

Structs

ControlTrafficSignal

A traffic signal consists of a sequence of Stages that repeat in a cycle. Most Stages last for a fixed duration. During a single Stage, some movements are protected (can proceed with the highest priority), while others are permitted (have to yield before proceeding).

diff --git a/rustdoc/map_model/objects/traffic_signals/struct.ControlTrafficSignal.html b/rustdoc/map_model/objects/traffic_signals/struct.ControlTrafficSignal.html index a89f5175e6..150eb4c3b6 100644 --- a/rustdoc/map_model/objects/traffic_signals/struct.ControlTrafficSignal.html +++ b/rustdoc/map_model/objects/traffic_signals/struct.ControlTrafficSignal.html @@ -1,6 +1,6 @@ map_model::objects::traffic_signals::ControlTrafficSignal - Rust -