Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ジオメトリの問題を解決しているときに、スライディング ウィンドウ アルゴリズムと呼ばれるアプローチに出会いました。
学習資料/詳細は実際には見つかりませんでした。
アルゴリズムとは何ですか?
一般的に言えば、スライディング ウィンドウは、基になるコレクションを実行するサブリストです。つまり、次のような配列がある場合
[a b c d e f g h]
サイズ 3 のスライディング ウィンドウは、
[a b c] [b c d] [c d e] [d e f] [e f g] [f g h]
これは、たとえば移動平均を計算したい場合や、隣接するすべてのペアのセットを作成したい場合などに便利です。