Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catenarytransit/catenary-backend
/ functions
Functions
1,097 in github.com/catenarytransit/catenary-backend
⨍
Functions
1,097
◇
Types & classes
658
↓ 1 callers
Method
search
( &self, route_id: &str, trip_id: &str, )
src/spruce/departures_shared.rs:695
↓ 1 callers
Method
set_end_stop_name
(&mut self, name: Option<String>)
src/routing_common/api.rs:205
↓ 1 callers
Method
set_route_name
(&mut self, name: Option<String>)
src/routing_common/api.rs:212
↓ 1 callers
Method
set_start_stop_name
(&mut self, name: Option<String>)
src/routing_common/api.rs:198
↓ 1 callers
Method
shape_ids
(&self)
src/maple/shapes_reader.rs:150
↓ 1 callers
Method
should_use_proxy
(&self)
src/proxy_pool.rs:62
↓ 1 callers
Method
sidewalk_separate
(mut self, v: bool)
src/routing_common/ways.rs:197
↓ 1 callers
Function
single_fetch_time
( request_limit: usize, client: reqwest::Client, assignments: Arc<RwLock<HashMap<String, RealtimeF
src/alpenrose/single_fetch_time.rs:101
↓ 1 callers
Method
snap_feature_to_graph
( &mut self, feature: &crate::osm_loader::OsmPtFeature, _config: &SupportGraphConfig,
src/globeflower/support_graph.rs:577
↓ 1 callers
Method
solve_component
Solve a component using ILP formulation matching C++ loom's ILPEdgeOrderOptimizer. Key changes from previous implementation: 1. Position vars use cum
src/harebell/optimizer.rs:312
↓ 1 callers
Method
split_by_articulation_points
( &self, component: &[usize], adj: &HashMap<usize, Vec<usize>>, )
src/harebell/optimizer.rs:2225
↓ 1 callers
Method
split_by_direction
Split edges into direction groups based on bearing at station
src/globeflower/station.rs:153
↓ 1 callers
Method
split_edge
(&mut self, edge_id: SupportEdgeId, split_node_id: SupportNodeId, frac: f64)
src/globeflower/support_graph.rs:673
↓ 1 callers
Method
start_map_update_coalescer
(&self, ctx: &mut ws::WebsocketContext<Self>)
src/spruce/trip_websocket.rs:121
↓ 1 callers
Method
start_periodic_updates
(&self, ctx: &mut ws::WebsocketContext<Self>)
src/spruce/trip_websocket.rs:194
↓ 1 callers
Method
start_trajectory_updates
(&self, ctx: &mut ws::WebsocketContext<Self>)
src/spruce/trip_websocket.rs:722
↓ 1 callers
Method
steps
(mut self, v: bool)
src/routing_common/ways.rs:175
↓ 1 callers
Method
stop_footpaths
(&self)
src/routing_common/timetable.rs:189
↓ 1 callers
Function
test_multi_subs
(uri, chateau, trip_id_1, trip_id_2)
test_multi_subs.py:6
↓ 1 callers
Function
test_websocket
(uri, chateau, trip_id, start_time=None, start_date=None, route_id=None)
test_websocket.py:5
↓ 1 callers
Function
tile_bbox
(x: u32, y: u32, zoom: u8)
src/osm_extractor/main.rs:396
↓ 1 callers
Function
timepoint_to_bool
(timepoint: &TimepointType)
src/enum_to_int.rs:44
↓ 1 callers
Function
titlecase_process_new
(input: Option<&String>)
src/maple/gtfs_ingestion_sequence/stops_into_postgres.rs:460
↓ 1 callers
Method
to_feed_entity
(&self, ref_epoch: u64)
src/compact_formats.rs:144
↓ 1 callers
Method
to_feed_header
(&self)
src/compact_formats.rs:114
↓ 1 callers
Method
to_kmh
(self)
src/routing_common/types.rs:176
↓ 1 callers
Method
to_stop_time_update
(&self, ref_epoch: u64)
src/compact_formats.rs:235
↓ 1 callers
Method
to_trip_update
(&self, ref_epoch: u64)
src/compact_formats.rs:186
↓ 1 callers
Function
transform_for_bay_area
(x: String)
src/maple/transitland_download.rs:954
↓ 1 callers
Method
trip_id_offsets
(&self)
src/routing_common/timetable.rs:210
↓ 1 callers
Method
trip_mod_lookup_for_trip_id_service_day
( self, _: context::Context, chateau_id: String, trip_id: String, serv
src/aspen/main.rs:201
↓ 1 callers
Method
untangle_complex_repeatedly
(&self, graph: &mut RenderGraph)
src/harebell/optimizer.rs:787
↓ 1 callers
Method
untangle_rule_2
( &self, graph: &mut RenderGraph, node_adj: &HashMap<i64, Vec<usize>>, )
src/harebell/optimizer.rs:1023
↓ 1 callers
Method
untangle_rule_3
( &self, graph: &mut RenderGraph, node_adj: &HashMap<i64, Vec<usize>>, )
src/harebell/optimizer.rs:1193
↓ 1 callers
Method
untangle_rule_4
( &self, graph: &mut RenderGraph, node_adj: &HashMap<i64, Vec<usize>>, )
src/harebell/optimizer.rs:1367
↓ 1 callers
Method
untangle_rule_5
( &self, graph: &mut RenderGraph, node_adj: &HashMap<i64, Vec<usize>>, )
src/harebell/optimizer.rs:1581
↓ 1 callers
Method
untangle_rule_6_outer_stump
( &self, graph: &mut RenderGraph, node_adj: &HashMap<i64, Vec<usize>>, )
src/harebell/optimizer.rs:1898
↓ 1 callers
Method
untangle_rule_7_inner_stump
( &self, graph: &mut RenderGraph, node_adj: &HashMap<i64, Vec<usize>>, )
src/harebell/optimizer.rs:2090
↓ 1 callers
Method
untangle_rule_8_double_stump
( &self, graph: &mut RenderGraph, node_adj: &HashMap<i64, Vec<usize>>, )
src/harebell/optimizer.rs:1770
↓ 1 callers
Function
update_schedules_with_new_chateau_id
( feed_id: &str, new_chateau_id: &str, pool: Arc<CatenaryPostgresPool>, )
src/maple/update_schedules_with_new_chateau_id.rs:13
↓ 1 callers
Function
vehicle_pos_supplement
( pos_aspenised: AspenisedVehiclePosition, fetch_supplemental_data_positions_metrolink: &Option<AHashM
src/aspen/metrolink_california_additions/mod.rs:6
↓ 1 callers
Method
viterbi_match
Viterbi algorithm to find the optimal path through candidate states
src/globeflower/map_matcher.rs:187
↓ 1 callers
Method
way_node_dist
(&self)
src/routing_common/ways.rs:473
↓ 1 callers
Method
way_properties
(&self)
src/routing_common/ways.rs:447
↓ 1 callers
Function
web_mercator
(lon: f64, lat: f64)
src/spruce/rdp_test.rs:59
↓ 1 callers
Function
website_name_to_route_id
(route_name: &str)
src/custom_alerts/metrolink_alerts.rs:309
↓ 1 callers
Function
weighted_average_centerline_metric
Calculate weighted average centerline in METRIC space.
src/globeflower/geometry_utils.rs:324
↓ 1 callers
Function
wipe_all_relevant_tiles_for_bbox
( conn: &mut bb8::PooledConnection< '_, diesel_async::pooled_connection::AsyncDieselConnec
src/shape_fetcher/mod.rs:85
↓ 1 callers
Method
with_timetable
Perform a safe read operation utilizing the zero-copy bindings
src/edelweiss/zero_copy_loader.rs:45
↓ 1 callers
Method
write_corridor
... Copy existing methods ...
src/globeflower/corridor.rs:650
↓ 1 callers
Function
yyyymmdd_to_naive_date
(date_str: &str)
src/lib.rs:1012
Method
add_line_to_edge
Add line occurrence to an edge
src/globeflower/support_graph.rs:527
Method
adjacent
( params: &FootParams, graph: &RoutingGraph, node: NodeIdx, _level: Level,
src/routing_common/profiles.rs:108
Function
amtrakproxy
(req: HttpRequest)
src/birch/server.rs:455
Function
amtrakproxy
(req: HttpRequest)
src/spruce/http-server.rs:106
Method
bbox_geo
(geom: &[(f64, f64)])
src/globeflower/corridor.rs:596
Method
bbox_metric
(geom: &[(f64, f64)])
src/globeflower/corridor.rs:610
Method
bike_accessible
(mut self, v: bool)
src/routing_common/ways.rs:139
Function
block_api
( pool: web::Data<Arc<CatenaryPostgresPool>>, query: Query<BlockApiQuery>, req: HttpRequest, )
src/birch/block_api.rs:56
Method
build
(self)
src/routing_common/types.rs:301
Method
build
(graph: &RoutingGraph)
src/routing_common/lookup.rs:48
Method
build_atomic_edges
Build atomic edges from ways, splitting at junctions
src/globeflower/osm_loader.rs:210
Method
build_direct
( &mut self, direct_connections: &catenary::routing_common::transit_graph::DirectConnections,
src/edelweiss/query_graph.rs:136
Method
build_edge_rtree
Build R-tree for edges using bounding boxes
src/globeflower/osm_loader.rs:281
Method
build_from_edge_sequences
Build restrictions from GTFS-matched edge sequences (simpler approach)
src/globeflower/restrictions.rs:208
Method
build_local
( &mut self, partition: &TransitPartition, start_stops: &[(u32, u32)], // (partition_i
src/edelweiss/query_graph.rs:75
Method
build_map_update_message
( chateau_id: String, response: Arc<PrecomputedChateauMap>, params: MapViewportUpdate,
src/spruce/trip_websocket.rs:334
Method
build_map_update_message_v2
( chateau_id: String, response: Arc<PrecomputedChateauMap>, params: crate::SubscribeMa
src/spruce/trip_websocket.rs:535
Method
build_node_rtree
Build R-tree for nodes
src/globeflower/osm_loader.rs:309
Method
build_proxy_client
Build a reqwest Client configured with a random proxy, plus standard decompression and timeouts. Suitable for the general alpenrose fetch path where a
src/proxy_pool.rs:106
Function
bulk_realtime_fetch_v3
( req: HttpRequest, etcd_connection_ips: web::Data<Arc<EtcdConnectionIps>>, etcd_connection_option
src/birch/aspenised_data_over_https.rs:261
Function
bus_stops
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:97
Function
bus_stops_meta
(req: HttpRequest)
src/birch/postgis_download.rs:83
Function
calfireproxy
(req: HttpRequest)
src/birch/server.rs:434
Method
centroid
(geom: &[(f64, f64)])
src/globeflower/corridor.rs:614
Function
chateaus
( pool: web::Data<Arc<CatenaryPostgresPool>>, req: HttpRequest, chateau_cache: web::Data<ChateauCa
src/birch/server.rs:520
Function
chateaus_no_geom
( pool: web::Data<Arc<CatenaryPostgresPool>>, req: HttpRequest, )
src/birch/server.rs:672
Function
check_is_active
( conn: &mut bb8::PooledConnection< '_, AsyncDieselConnectionManager<diesel_async::AsyncPg
src/postgres_tools/mod.rs:65
Function
check_postgres_alive
( pool: &CatenaryPostgresPool, )
src/postgres_tools/mod.rs:78
Method
clip_line_to_rect
Clip a linestring to a bounding rectangle. Returns a vector of line segments (each is a Vec<Coord>) that are inside/crossing the rect. This implements
src/harebell/tile_gen.rs:463
Method
clip_segment
Clip a single line segment to a rectangle using Cohen-Sutherland algorithm. Returns Some((p1, p2)) if the segment intersects the rectangle, None other
src/harebell/tile_gen.rs:527
Function
cluster_stops
Cluster GTFS stops by name and proximity
src/globeflower/station.rs:265
Method
collect_tiles_for_zoom
Collect all tile coordinates that need to be generated for a zoom level. Uses the graph's spatial index to determine which tiles contain data. # Argu
src/harebell/tile_gen.rs:1064
Function
compress_zlib
(input: &[u8])
src/lib.rs:220
Method
compute_crossing_score
Compute total crossing score for a component
src/harebell/optimizer.rs:3440
Function
config
()
src/catenaryconfig.rs:112
Method
connects_to
Check if this edge connects to the given node
src/globeflower/osm_types.rs:194
Method
contains_point
Check if a point (lon, lat) is within this region's bounding box
src/globeflower/regions.rs:137
Function
contains_rail_or_metro_lines
(gtfs: >fs_structures::Gtfs)
src/lib.rs:492
Function
continuous_pickup_drop_off_to_i16
(x: &ContinuousPickupDropOff)
src/enum_to_int.rs:61
Method
convert_node_id
(id: NodeId)
src/harebell/loader.rs:283
Function
convex_hull
graham scan
src/maple/gtfs_handlers/convex_hull.rs:6
Function
count_rail_in_box
( sqlx_pool: web::Data<Arc<sqlx::Pool<sqlx::Postgres>>>, pool: web::Data<Arc<CatenaryPostgresPool>>,
src/birch/postgis_download.rs:36
Function
csv_escape
(s: &str)
src/maple/gtfs_process.rs:275
Function
date_string_to_chrono_naive
(date_string: &str)
src/custom_alerts/metrolink_alerts.rs:322
Method
default
()
src/harebell/config.rs:11
Method
default
()
src/harebell/tile_gen.rs:29
Method
default
()
src/globeflower/corridor.rs:44
Method
default
()
src/globeflower/support_graph.rs:60
Method
default
()
src/globeflower/map_matcher.rs:84
← previous
next →
601–700 of 1,097, ranked by callers