Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StevenLyt/mapf-visualizer
/ decodeLocation
Method
decodeLocation
src/LAMAPFVisualizer.jsx:111–116 ·
view source on GitHub ↗
(loc)
Source
from the content-addressed store, hash-verified
109
}
110
111
decodeLocation(loc) {
112
return {
113
r: Math.floor(loc / this.state.numCol),
114
c: loc % this.state.numCol,
115
};
116
}
117
118
createEmptyMap(row, col) {
119
return new Array(row).fill().map(() =>
Callers
1
playAnimation
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected