MCPcopy Create free account
hub / github.com/StevenLyt/mapf-visualizer / linearizeLocation

Method linearizeLocation

src/LAMAPFVisualizer.jsx:107–109  ·  view source on GitHub ↗
(r, c)

Source from the content-addressed store, hash-verified

105 componentWillUnmount() {}
106
107 linearizeLocation(r, c) {
108 return this.state.numCol * r + c;
109 }
110
111 decodeLocation(loc) {
112 return {

Callers 1

requestSolutionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected