Skip to content

Commit

Permalink
Add theory for 三阶鱼 #5 #11
Browse files Browse the repository at this point in the history
  • Loading branch information
zhugelianglongming committed Mar 16, 2023
1 parent ecc5b89 commit 168a00d
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 16 deletions.
File renamed without changes.
53 changes: 53 additions & 0 deletions 技巧/图谱/链/鱼/三阶鱼.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# 三阶鱼

<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
## 目录

- [原理](#%E5%8E%9F%E7%90%86)
- [技巧拓展](#%E6%8A%80%E5%B7%A7%E6%8B%93%E5%B1%95)
- [标签](#%E6%A0%87%E7%AD%BE)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

## 原理

因为
- 存在 3 行 3 列`RegionLineParallel[1,3]` 、`RegionLinePerpendicular[1,3]
- `RegionLineParallel[n]` 之间互相平行
- `RegionLinePerpendicular[n]` 之间互相平行
- `RegionLinePerpendicular[n]` 垂直于`RegionLinePerpendicular[m]`
- `RegionLineParallel[n]` 和`RegionLinePerpendicular[m]`相交于单元格`Cell[nm]`
- 对于候选数`X`
- 在行列`RegionLineParallel[1]` 中
- 可填入数字`X`的单元格仅`Cell[11]`、`Cell[12]`、`Cell[13]`
- 在行列`RegionLineParallel[2]` 中
- 可填入数字`X`的单元格仅`Cell[21]`、`Cell[22]`、`Cell[23]`
- 在行列`RegionLineParallel[3]` 中
- 可填入数字`X`的单元格仅`Cell[31]`、`Cell[32]`、`Cell[33]`

所以
- 在行列`RegionLinePerpendicular[1]`
- 除了`Cell[11]`、`Cell[12]`、`Cell[13]`的其他单元格
- 必不填入数字`X`
- 在行列`RegionLinePerpendicular[2]`
- 除了`Cell[21]`、`Cell[22]`、`Cell[23]`的其他单元格
- 必不填入数字`X`
- 在行列`RegionLinePerpendicular[3]`
- 除了`Cell[31]`、`Cell[32]`、`Cell[33]`的其他单元格
- 必不填入数字`X`

> 分析 9 格中数字`X`的数量c:`c >= 3 && c <= 3``c == 3`
![Swordfish](https://www.sudokuwiki.org/PuzImages/SFdiag1.png)

### 技巧拓展

- [[二阶鱼]]:拓展分析行列区域的数量


## 标签

#Level/c

> [SudokuWiki.org - Swordfish Strategy](https://www.sudokuwiki.org/Sword_Fish_Strategy)
24 changes: 11 additions & 13 deletions 技巧/图谱/链/鱼/二阶鱼.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,23 @@
## 原理

因为
- 存在行列`RegionLineParallel1``RegionLineParallel2``RegionLinePerpendicular1``RegionLinePerpendicular2`
- `RegionLineParallel1` 平行于`RegionLineParallel2`
- `RegionLinePerpendicular1` 平行于`RegionLinePerpendicular2`
- `RegionLineParallel1` 和`RegionLinePerpendicular1`相交于单元格`Cell11`
- `RegionLineParallel1` 和`RegionLinePerpendicular2`相交于单元格`Cell12`
- `RegionLineParallel2` 和`RegionLinePerpendicular1`相交于单元格`Cell21`
- `RegionLineParallel2` 和`RegionLinePerpendicular2`相交于单元格`Cell22`
- 存在 2 行 2 列`RegionLineParallel[1,2]``RegionLinePerpendicular[1,2]`
- `RegionLineParallel[n]` 之间互相平行
- `RegionLinePerpendicular[n]` 之间互相平行
- `RegionLinePerpendicular[n]` 垂直于`RegionLinePerpendicular[m]`
- `RegionLineParallel[n]` 和`RegionLinePerpendicular[m]`相交于单元格`Cell[nm]`
- 对于候选数`X`
- 在行列`RegionLineParallel1` 中
- 可填入数字`X`的单元格仅`Cell11`、`Cell12`
- 在行列`RegionLineParallel2` 中
- 可填入数字`X`的单元格仅`Cell21`、`Cell22`
- 在行列`RegionLineParallel[1]` 中
- 可填入数字`X`的单元格仅`Cell[11]`、`Cell[12]`
- 在行列`RegionLineParallel[2]` 中
- 可填入数字`X`的单元格仅`Cell[21]`、`Cell[22]`

所以
- 在行列`RegionLinePerpendicular1`
- 除了`Cell11`、`Cell21`的其他单元格
- 除了`Cell[11]`、`Cell[21]`的其他单元格
- 必不填入数字`X`
- 在行列`RegionLinePerpendicular2`
- 除了`Cell12`、`Cell22`的其他单元格
- 除了`Cell[12]`、`Cell[22]`的其他单元格
- 必不填入数字`X`

> 分析 4 格中数字`X`的数量c:`c >= 2 && c <= 2``c == 2`
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
# 分类
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
**目录**
## 目录

- [分类](#%E5%88%86%E7%B1%BB)
- [按区域数分类](#%E6%8C%89%E5%8C%BA%E5%9F%9F%E6%95%B0%E5%88%86%E7%B1%BB)
- [标签](#%E6%A0%87%E7%AD%BE)

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

## 按区域数分类

- [[二阶鱼]]
- [[三阶鱼]]
- [[四阶鱼]]
-

## 标签

#Level/c

0 comments on commit 168a00d

Please sign in to comment.