MCPcopy Create free account
hub / github.com/Gecode/gecode / block_row

Method block_row

examples/sudoku-advanced.cpp:227–230  ·  view source on GitHub ↗

Extract row \a br from block starting at (\a i,\a j)

Source from the content-addressed store, hash-verified

225
226 /// Extract row \a br from block starting at (\a i,\a j)
227 IntVarArgs
228 block_row(Matrix<IntVarArray> m, int br, int i, int j) {
229 return m.slice(j*n, (j+1)*n, br*n+i, br*n+i+1);
230 }
231#endif
232};
233

Callers

nothing calls this directly

Calls 1

sliceMethod · 0.45

Tested by

no test coverage detected