没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
GO 2015年11月的解决方案。 概述 Sudoku Web应用程序:解决,生成,评分和验证Sudoku拼图。 该算法实现两个求解功能: QuickFill-之所以这样称呼,是因为它可以快速地在水平,垂直和九个网格框中检查可能的选项。 如果仅剩下一种可能的解决方案,则会将值加到平方上。 猜测-它用可能的,无冲突的值填充一个空的正方形。 如果难题已解决(完全填满),它将进行验证以查看其是否正确。 如果不是,它将返回并用另一个可能的值填充正方形。 它以递归方式填充和回溯,直到拼图完成。 一个非常有趣的发现是,在每次猜测之前实现QuickFill函数并不能提高算法的速度,实际上,它减慢了速度。 我没想到。 我感到非常惊讶,以至于我决定保留不带Quickfill的函数的原始名称:SlowSolve()。 SlowSolve是一种较快的功能,因此是用于API的功能。 安装 go get
资源推荐
资源详情
资源评论
收起资源包目录
sugoku:数独谜题求解器和生成器 (129个子文件)
epoch.min.css 58KB
prismjs.min.css 2KB
style.css 2KB
.gitignore 301B
.gitignore 52B
.gitignore 10B
validator_test.go 90KB
validator.go 27KB
baked_in.go 23KB
context_test.go 18KB
doc.go 16KB
context_test.go 15KB
tree.go 15KB
tree_test.go 14KB
context.go 14KB
context.go 14KB
githubapi_test.go 13KB
colorable_windows.go 11KB
routes_test.go 11KB
gin.go 11KB
routergroup.go 8KB
gin_test.go 7KB
regexes.go 5KB
sse_test.go 5KB
logger_test.go 5KB
middleware_test.go 5KB
routergroup_test.go 4KB
binding_test.go 4KB
auth_test.go 4KB
form_mapping.go 4KB
benchmarks_test.go 4KB
sse-decoder.go 4KB
utils_test.go 3KB
errors.go 3KB
board.go 3KB
utils.go 3KB
render_test.go 3KB
benchmarks_test.go 3KB
errors_test.go 3KB
auth.go 3KB
response_writer_test.go 3KB
recovery.go 3KB
gin_integration_test.go 3KB
square.go 3KB
simple.go 3KB
path.go 3KB
puzzle.go 3KB
logger.go 3KB
main.go 2KB
response_writer.go 2KB
ctxhttp.go 2KB
examples_test.go 2KB
sse-encoder.go 2KB
sse-decoder_test.go 2KB
path_test.go 2KB
original-solve.go 2KB
routes.go 2KB
debug.go 2KB
binding.go 2KB
debug_test.go 2KB
ctxhttp_test.go 2KB
logic_test.go 2KB
validate_test.go 2KB
template.go 2KB
logic.go 1KB
generator.go 1KB
html.go 1KB
main_test.go 1KB
form.go 1KB
recovery_test.go 1KB
stats.go 1KB
slow-solve.go 1KB
main.go 1KB
main.go 1KB
mode.go 1KB
fs.go 944B
json.go 835B
default_validator.go 761B
render.go 683B
main.go 677B
withtimeout_test.go 677B
rooms.go 667B
text.go 661B
mode_test.go 648B
mainBench_test.go 620B
board_test.go 613B
rooms.go 540B
redirect.go 521B
json.go 498B
xml.go 491B
cancelreq_go14.go 467B
xml.go 459B
hello.go 458B
data.go 435B
writer.go 395B
cancelreq.go 355B
cli.go 325B
colorable_others.go 180B
deprecated.go 180B
room_login.templ.html 10KB
共 129 条
- 1
- 2
资源评论
远离康斯坦丁
- 粉丝: 27
- 资源: 4664
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功