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

Method linearizeLocation

src/EECBSVisualizer.jsx:120–122  ·  view source on GitHub ↗
(r, c)

Source from the content-addressed store, hash-verified

118 componentWillUnmount() {}
119
120 linearizeLocation(r, c) {
121 return this.state.numCol * r + c;
122 }
123
124 decodeLocation(loc) {
125 return {

Callers 1

requestSolutionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected