A-SW Hub / Repositories
Local Gitea · READ ONLY
← 저장소 Repositories
REPOSITORY

ontariotech/path-optimization Private

[참조 MVP] 농작업 경로 최적화 A-SW — 작업 구간을 최근접 휴리스틱으로 재정렬해 공차 이동거리를 줄입니다.

https://git.agrithing.ai/ontariotech/path-optimization.git
7 commits
12 items · main
·/ run.py
python · 352 B · 6ce1446 Download
from __future__ import annotationsimport jsonimport sysfrom asw_component import executeif __name__ == "__main__":    path = sys.argv[1] if len(sys.argv) > 1 else None    with open(path, encoding="utf-8") if path else sys.stdin as source:        payload = json.load(source)    print(json.dumps(execute(payload), ensure_ascii=False, indent=2))