sudoku 心得 视觉消除法(Visual Elimination)
虽然我是程序员,但这里只介绍人类的思维方法。
这个方法我是从这里看到的:
https://www.learn-sudoku.com/visual-elimination.html
Most people try to solve Sudoku puzzles by picking a random empty cell and trying to figure out what goes in it. Unless you get lucky, this ends up being frustrating and tedious.
"Visual Elimination" is sort of the opposite of that. Instead of focusing on a particular cell, you focus on a number, and try to figure out the nine places it goes.
刚开始,大多数人可能随意选择一个空的格子,开始尝试看看什么数字可以填进去。 除非你运气好,否则,你最终可能会很沮丧。
视觉消除法(Visual Elimination)是一个反向的方法。 你聚焦在数字上,而不是空格。
That’s right – every number goes into every Sudoku puzzle exactly nine times. No more, no less. Each puzzle has nine 1s, nine 2s, nine 3s, etc.
Ok, now train yourself to look at just the larger squares in the puzzle. Think of the puzzle as a tic-tac-toe game, or a "Brady Bunch" grid (remember The Brady Bunch?). In other words, only focus on the nine large squares (called “blocks”).
训练自己把整个棋盘看成3X3格,类似tic tac toe(三连棋游戏)。 用其他话说,就是只聚焦在这9个宫里。

With me so far? Ok now, we pick a number – I like to start with "1". Because of the rules of the game, the puzzle must have exactly nine 1s, and there will be one in each tic-tac-toe square (block).
然后从数字1开始。

你需要训练自己忽略其他数字。 如下图

然后你就可以解出1的位置:

Practice this enough, and it will become second nature to you.
通过足够的训练,这会变成你的第二天性
Of course, there is no guarantee you will find all the 1s. If there were, you could always solve every Sudoku using this technique.
当然,没有保证你可以找到所有的1.
Once you have found every “1” you can find, simply move on to “2”. Do the same thing for “3”, “4”, etc – all the way through “9”.
你找到所有可以填的1后,就开始填2,3,4,一直到9
Once you have finished with “9”, don't get too excited - you are not done. If you used “Visual Elimination” to fill in any cells, you will want to go right back to “1” and try again. This is because every filled cell potentially changes things. You have only truly exhausted this technique when you go from “1” all the way through “9” without solving any new cells.
9处理完成后,不要太高兴。 你应该会到1再继续尝试,因为中间你填了一些数,改变了状态。 只有你重复1~9一遍,一个数字都不能填进去,你才算完成。
sudoku 心得 视觉消除法(Visual Elimination)的更多相关文章
- 论文:利用深度强化学习模型定位新物体(VISUAL SEMANTIC NAVIGATION USING SCENE PRIORS)
这是一篇被ICLR 2019 接收的论文.论文讨论了如何利用场景先验知识 (scene priors)来定位一个新场景(novel scene)中未曾见过的物体(unseen objects).举例来 ...
- Windows10自适应和交互式toast通知[1]
阅读目录: 概述 toast通知的结构 视觉区域(Visual) 行为(Actions) 特定场景下的Toast通知 带多内容的通知 带行为的通知(例子1) 带行为的通知(例子2) 带文本输入框和行为 ...
- 移动web开发之视口viewport
× 目录 [1]布局视口 [2]视觉视口 [3]理想视口[4]meta标签[5]总结 前面的话 在CSS标准文档中,视口viewport被称为初始包含块.这个初始包含块是所有CSS百分比宽度推算的根源 ...
- 什么是viewport,为什么需要viewport
viewport:视口,视觉窗口,显示区域.在显示面积上手机屏幕相对桌面显示器要小很多,在几年前(现在也如此)大部分网站都是为桌面显示器浏览而设计,很少考虑到适应手机屏幕,所以如果用手机浏览大多网站时 ...
- Web交互设计优化的简易check list
Web交互设计优化的简易check list 00 | 时间: 2011-02-11 | 28,842 Views 交互设计, 用户研究 “优化已有产品的体验”,这是用户体验相关岗位职责中常见的描 ...
- X Window 程式设计
X Window 程式设计 转 http://www.cppblog.com/zmj/archive/2007/05/18/24331.html X Window 程式设计 X Window 程式 ...
- 论文笔记之:Attention For Fine-Grained Categorization
Attention For Fine-Grained Categorization Google ICLR 2015 本文说是将Ba et al. 的基于RNN 的attention model 拓展 ...
- ZK框架的分析与应用
前言:本文是在下的在学习ZK官方文档时整理出来的初稿.本来里面有很多的效果图片和图片代码的.奈何博客园中图片不能粘贴上去,所以感兴趣的筒子们就将就吧.内容中,如有不好的地方,欢迎斧正! ZK框架的分析 ...
- [C#技术参考]在PictureBox 中绘图防止闪烁的办法
开篇之前说点别的,马上年终了,好希望年终奖大大的,但是好像这次项目的展示很重要,所以这几天绷得比较近,但是真的没有感觉烦,就是害怕来不及.所以抓紧了.下面直接正题.说一下用到的东西,都是Google搜 ...
随机推荐
- [JS设计模式]:观察者模式(即发布-订阅者模式)(4)
简介 观察者模式又叫发布---订阅模式,它定义了对象间的一种一对多的关系,让多个观察者对象同时监听某一个主题对象,当一个对象发生改变时,所有依赖于它的对象都将得到通知. 举一个现实生活中的例子,例如小 ...
- Vue笔记目录
Vue笔记目录 一.Vue.js介绍 二.vue基础-vue-cli(vue脚手架) ...持续更新中,敬请期待
- iOS静态库转Framework动态库
参考文章: iOS静态库(.a 和framework) XCode6制作动态及静态Framework 说说iOS中静态库的开发 dyld: Library not loaded: @rpath/ ...
- php bootstrap-datetimepicker
开发语言:php 框架:thinkphp 3.2 问题:搜索条件 开始时间--结束时间 解决工具: bootstrap-datetimepicker 插件 时间插件组合用法 1.公用部分 css: b ...
- SQL-连接查询:left join,right join,inner join,full join之间的区别
参考: https://www.cnblogs.com/lijingran/p/9001302.html https://www.cnblogs.com/assasion/p/7768931.html ...
- NVM 安装(window/mac/linux)
一.window版 1.nvm-windows下载 [下载地址](https://github.com/coreybutler/nvm-windows/releases),下载 nvm-setup.z ...
- go frame框架,关闭启动时打印的路由列表已经debug信息
import ( "github.com/gogf/gf/frame/g" "github.com/gogf/gf/os/glog" ) func main() ...
- 常用内置模块(三)--subprocess、re
一.subprocess模块 进程:一个正在运行的程序 子进程:在父进程运行的过程中在其内部又开启了一个进程,即子进程. 作用:用于执行系统命令 os.system也可以获取当前的进程信息,但是它只能 ...
- Django rest framework 之分页
Django rest_framework 中分页可分为三类: PageNumberPagination:看第 n 页,每页显示 n 条数据 LimitOffsetPagination:在 n 个位置 ...
- spark操作总结
一.sparkContext与sparkSession区别 任何Spark程序都是SparkContext开始的,SparkContext的初始化需要一个SparkConf对象,SparkConf包含 ...