backend/ βββ redistributor/ # π² μμ κ±° μ¬λ°°μΉ λ‘μ§ μ λ΄ ν¨ν€μ§ β βββ init.py β βββ summary_pipeline.py # μμΒ·κ³΅κΈ μμ½ νμ΄νλΌμΈ (stock + prediction + μν + center) β βββ supply.py # 곡κΈλ/μμλ 리μ€νΈ κ΅¬μ± λ° μΈλ±μ€ ν¬νΌ β βββ optimizer.py # ILP κΈ°λ° μ¬λ°°μΉ μ΅μ ν λ‘μ§ β βββ simplify.py # μ΄λ κ²°κ³Ό λ¨μν μ²λ¦¬ (λΆνμ κ²½λ‘ μ κ±° λ±) β βββ route_summary.py # μ΅μ’ κ²½λ‘ λ° μ΄λ μμ½
곡κΈ/μμ 리μ€νΈ κ΅¬μ± | μμΉ κΈ°λ°μ 곡κΈλ 리μ€νΈ μμ± λ° center μ²λ¦¬
redistributor/summary_pipeline.py
get_demand_stock(), station_status_labeler(), add_center(), generate_station_summary()redistributor/supply.py
make_supply_list(), station_index()0612 | D+16
# 1. λμ¬μλ³λ‘ μ¬κ³ λ(stock)κ³Ό μμ μμκ°(prediction) λΆλ¬μ€κΈ°# 2. λμ¬μλ³ μν λΌλ²¨λ§νκΈ°(abundant: 1, deficient: 0)# 3. center μ 보 μΆκ°