> For the complete documentation index, see [llms.txt](https://zhugelianglongming.gitbook.io/shu-du/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://zhugelianglongming.gitbook.io/shu-du/ji-qiao/ji-qiao-gui-na/lian/yu/biao-zhun-yu/si-jie-yu.md).

# 四阶鱼

四阶鱼

### 原理

因为

* 存在 4 行 4 列`RegionLineParallel[1,4]` 、\`RegionLinePerpendicular\[1,4]：
  * `RegionLineParallel[n]` 之间互相平行
  * `RegionLinePerpendicular[n]` 之间互相平行
  * `RegionLinePerpendicular[n]` 垂直于`RegionLinePerpendicular[m]`
  * `RegionLineParallel[n]` 和`RegionLinePerpendicular[m]`相交于单元格`Cell[nm]`
* 对于候选数`X`
  * 在行列`RegionLineParallel[1]` 中
    * 可填入数字`X`的单元格仅限于`Cell[11]`、`Cell[12]`、`Cell[13]`、`Cell[14]`
  * 在行列`RegionLineParallel[2]` 中
    * 可填入数字`X`的单元格仅限于`Cell[21]`、`Cell[22]`、`Cell[23]`、`Cell[24]`
  * 在行列`RegionLineParallel[3]` 中
    * 可填入数字`X`的单元格仅限于`Cell[31]`、`Cell[32]`、`Cell[33]`、`Cell[34]`
  * 在行列`RegionLineParallel[4]` 中
    * 可填入数字`X`的单元格仅限于`Cell[41]`、`Cell[42]`、`Cell[43]`、`Cell[44]`

所以

* 在行列`RegionLinePerpendicular[1]` 中
  * 除了`Cell[11]`、`Cell[12]`、`Cell[13]`、`Cell[14]`的其他单元格
    * 必不填入数字`X`
* 在行列`RegionLinePerpendicular[2]` 中
  * 除了`Cell[21]`、`Cell[22]`、`Cell[23]`、`Cell[24]`的其他单元格
    * 必不填入数字`X`
* 在行列`RegionLinePerpendicular[3]` 中
  * 除了`Cell[31]`、`Cell[32]`、`Cell[33]`、`Cell[34]`的其他单元格
    * 必不填入数字`X`
* 在行列`RegionLinePerpendicular[4]` 中
  * 除了`Cell[41]`、`Cell[42]`、`Cell[43]`、`Cell[44]`的其他单元格
    * 必不填入数字`X`

> 分析 16 格中数字`X`的数量c：`c >= 4 && c <= 4` → \`c == 4

![# Jellyfish](https://www.sudokuwiki.org/PuzImages/JellyFish1.png)

#### 技巧拓展

* \[\[三阶鱼]]：拓展分析行列区域的数量

> [SudokuWiki.org - Jellyfish Strategy](https://www.sudokuwiki.org/Jelly_Fish_Strategy)
