MCPcopy Create free account
hub / github.com/GregoryCannon/StackRabbit / computeYValueOfEachShift

Function computeYValueOfEachShift

src/cpp_modules/src/piece_ranges.cpp:33–50  ·  view source on GitHub ↗

* Calculates a lookup table for the Y value you'd be at while doing shift number N. * This is used in the tuck search, since this would be the first Y value where you could perform a tuck after N inputs of a standard placement. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getPieceRangeContextFunction · 0.85
moveSearchInternalFunction · 0.85

Calls 1

Tested by

no test coverage detected