Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
f-sync_algo
Search
k-hasegw
November 22, 2022
Programming
0
220
f-sync_algo
k-hasegw
November 22, 2022
Tweet
Share
More Decks by k-hasegw
See All by k-hasegw
researchContentsForB4
khasegw0831
0
88
progressReport_k-hasegw_20230220.pdf
khasegw0831
0
86
progressReport_k-hasegw_20230131.pdf
khasegw0831
0
330
progressReport_k-hasegw_20230117
khasegw0831
0
370
Other Decks in Programming
See All in Programming
Elm 0.19.0 Changes
bkuhlmann
0
510
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
170
敵対的ポイフル
futabato
0
140
SIMD Parallel Programming with the Vector API
josepaumard
0
240
Going beyond Apache Parquet's default settings
xhochy
0
140
業務ツールとして使うPostman
msys75
0
110
AppRouter Panel Talk
yosuke_furukawa
PRO
1
490
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
200
デフォルトにして至高、RubyMineの大好きな所
ruzia
0
980
禅の心を手に入れよ
eltociear
1
410
Snowflakeで眠ったデータを起こそう!
estie
0
160
Milestoner
bkuhlmann
1
420
Featured
See All Featured
Agile that works and the tools we love
rasmusluckow
325
20k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Making Projects Easy
brettharned
109
5.5k
Code Review Best Practice
trishagee
56
15k
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
Atom: Resistance is Futile
akmur
260
25k
Designing Experiences People Love
moore
136
23k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
8
3.4k
Web development in the modern age
philhawksworth
203
10k
In The Pink: A Labor of Love
frogandcode
138
21k
Producing Creativity
orderedlist
PRO
338
39k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
34
6k
Transcript
アルゴリズム 停⽌条件:左右が同じ距離 1. 左右のロボット or 壁との距離をLook 2. 左右の距離が同じ 1. 停⽌
3. 左右の距離が異なる 1. ⼤きい⽅の距離を 1 縮めるようにMove 2. Lookに戻る
1. 左右の距離をLook 左:1 右:1 左:1 右:0 左:0 右:2
2. 左右の距離が同じ 左:1 右:1 左:1 右:0 左:0 右:2
3. 左右の距離が異なる場合 左:1 右:1 左:1 右:0 左:0 右:2
1. 大きい方を 1 縮める 左:1 右:1 左:1 右:0 左:0 右:2
1. 左右の距離をLook 左:1 右:0 左:0 右:2 左:2 右:1
3. 左右の距離が異なる場合 左:1 右:0 左:0 右:2 左:2 右:1
1. 大きい方を 1 縮める 左:1 右:0 左:0 右:2 左:2 右:1
1. 左右の距離をLook 左:0 右:2 左:2 右:0 左:0 右:2
3. 左右の距離が異なる場合 左:0 右:2 左:2 右:0 左:0 右:2
1. 大きい方を 1 縮める 左:0 右:2 左:2 右:0 左:0 右:2
無限ループに陥る