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
240
f-sync_algo
k-hasegw
November 22, 2022
Tweet
Share
More Decks by k-hasegw
See All by k-hasegw
researchContentsForB4
khasegw0831
0
110
progressReport_k-hasegw_20230220.pdf
khasegw0831
0
110
progressReport_k-hasegw_20230131.pdf
khasegw0831
0
350
progressReport_k-hasegw_20230117
khasegw0831
0
380
Other Decks in Programming
See All in Programming
250830 IaCの選定~AWS SAMのLambdaをECSに乗り換えたときの備忘録~
east_takumi
0
390
請來的 AI Agent 同事們在寫程式時,怎麼用 pytest 去除各種幻想與盲點
keitheis
0
120
「待たせ上手」なスケルトンスクリーン、 そのUXの裏側
teamlab
PRO
0
530
テストカバレッジ100%を10年続けて得られた学びと品質
mottyzzz
2
600
複雑なフォームに立ち向かう Next.js の技術選定
macchiitaka
2
150
Updates on MLS on Ruby (and maybe more)
sylph01
1
180
Deep Dive into Kotlin Flow
jmatsu
1
350
機能追加とリーダー業務の類似性
rinchoku
2
1.3k
より安全で効率的な Go コードへ: Protocol Buffers Opaque API の導入
shwatanap
1
130
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
860
時間軸から考えるTerraformを使う理由と留意点
fufuhu
16
4.8k
OSS開発者という働き方
andpad
5
1.7k
Featured
See All Featured
Unsuck your backbone
ammeep
671
58k
Rails Girls Zürich Keynote
gr2m
95
14k
Site-Speed That Sticks
csswizardry
10
820
Optimizing for Happiness
mojombo
379
70k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
4 Signs Your Business is Dying
shpigford
184
22k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Reflections from 52 weeks, 52 projects
jeffersonlam
352
21k
Visualization
eitanlees
148
16k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.4k
Automating Front-end Workflow
addyosmani
1370
200k
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
無限ループに陥る