traffic op• 資料種類:any → any
• 呼叫: import fullseye as fs; fs.ledger.poisson_events_xt(rate_fn: 'Callable', x_max: 'float', t_max: 'float', *, rate_max: 'float', seed, n_grid=(201, 201)) -> 'np.ndarray'(要直接呼叫實作,import drivetraffic; drivetraffic.poisson_events_xt(rate_fn: 'Callable', x_max: 'float', t_max: 'float', *, rate_max: 'float', seed, n_grid=(201, 201)) -> 'np.ndarray';從台帳取用則 opsdrive.get("poisson_events_xt"))
以 thinning 在 [0, x_max] × [0, t_max] 上抽取 1 條時空非齊次卜瓦松過程樣本(速率 λ(x, t) [次/(m·s)])。
用於像停靠中的公車那樣,出現率同時依賴於位置與時刻的情況(λ(x, t) = bus_stop_rate(x) · [t < 發車] + base)。以機率 λ/rate_max 保留率為 rate_max 的均勻候選(件數 ~ Poisson(rate_max · x_max · t_max),位置、時刻均勻)。件數 ~ Poisson(Λ),Λ = ∫∫λ dx dt。rate_fn(x, t) 是接受 2 個同形狀陣列並回傳率的函式。抽取之前在 n_grid = (nx, nt) 的網格上確認 λ ≤ rate_max,並在候選處也進行確認(超出則 ValueError)。
回傳值: (N, 2) 的陣列 [[x, t], ...] (按時刻遞增排序)。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者、年份)與用途見上面的族使用指南。
• poc_driving_traffic — py -3.11 examples/poc_driving_traffic.py
any 作為輸入)course_crank · course_s_curve · course_turnaround · course_slope · course_intersection · course_parallel_parking · course_crossing · course_road
traffic)idm_accel · idm_equilibrium_gap · idm_platoon_simulate · driver_style · lateral_wobble · ou_estimate · social_force_step · pedestrian_crossing
*Provenance: drivetraffic.py — DRIVE 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.