braidpath opany → matriximport fullseye as fs; fs.ledger.pairwise_winding(trajectories, obstacles=None) (実装を直接呼ぶなら import braidpath; braidpath.pairwise_winding(trajectories, obstacles=None)、台帳から引くなら opsdrive.get("pairwise_winding"))紐の対ごとの相対の巻き数 [回転] (相対ベクトルの偏角の総変化 / 2π)。対称行列、対角は 0。
偏角の増分は atan2(外積, 内積) で取る(主値 (−π, π])。1 刻みで半回転以上回ると向きが決まらないので止める。 閉形式: 純粋な組紐では 2 本の間の交差の符号つきの数を c として 2π·W = π c ちょうど(門)。巻き数は可換な 不変量なので、交換子 [A, B] の形の組紐(全部の対で巻き数 0 なのに自明でない)を区別できない —— それが組紐を使う理由。
Returns: (n, n) の float 配列(n = エージェント + 障害物の点)。 Raises: ValueError(2 本が同じ点に来る、1 刻みの増分が π に届く —— 刻みを細かく)。
py -3.11 examples/poc_braid_homotopy_classes.pymatrix を入力に取れる)world_camera · lidar_scan · relative_motion · foe_from_motion · flow_from_depth_motion · ttc_truth · world_materials · mesh_signed_volume
braidpath)braid_from_trajectories · braid_reduce · braid_artin_images · dynnikov_coordinates · dynnikov_act · braid_equivalent · homotopy_class_compare · homotopy_shortest_paths
Provenance: braidpath.py — DRIVE operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.