MCPcopy Create free account
hub / github.com/ActiveState/code / recipe-578386.py

File recipe-578386.py

recipes/Python/578386_Knights_Tour_Map_using_Warnsdorffs/recipe-578386.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Knight's Tour Map using Warnsdorff's Rule
2# http://en.wikipedia.org/wiki/Knight's_tour
3# FB - 20121217
4from heapq import heappush, heappop # for priority queue

Callers

nothing calls this directly

Calls 7

rangeFunction · 0.85
strFunction · 0.85
newMethod · 0.45
loadMethod · 0.45
timeMethod · 0.45
resizeMethod · 0.45
saveMethod · 0.45

Tested by

no test coverage detected