Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/StevenLyt/mapf-visualizer
/ decodeLocation
Method
decodeLocation
src/MAPFVisualizer.jsx:121–126 ·
view source on GitHub ↗
(loc)
Source
from the content-addressed store, hash-verified
119
}
120
121
decodeLocation(loc) {
122
return {
123
r: Math.floor(loc / this.state.numCol),
124
c: loc % this.state.numCol,
125
};
126
}
127
128
createEmptyMap(row, col) {
129
return new Array(row).fill().map(() =>
Callers
1
playAnimation
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected