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

Method x

examples/knights.cpp:181–183  ·  view source on GitHub ↗

Return x coordinate at field \a f

Source from the content-addressed store, hash-verified

179 }
180 /// Return x coordinate at field \a f
181 int x(int f) const {
182 return f % n;
183 }
184 /// Return y coordinate at field \a f
185 int y(int f) const {
186 return f / n;

Callers 4

isClippedMethod · 0.45
eventNodeMethod · 0.45
paintEventMethod · 0.45
wheelEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected