> 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/biao-zhun-lian/gui-ze-wing/si-fen-zhi-pi-pei-fa.md).

# 四分支匹配法

## 原理

因为

* 存在 2 个相交区域：`RegionA`、`RegionB`，其中：
  * `RegionA∩B`的单元格既属于`RegionA`，又属于`RegionB`
  * `RegionA-B`的单元格属于`RegionA`，不属于`RegionB`
  * `RegionB-A`的单元格不属于`RegionA`，属于`RegionB`
* 存在 4 个单元格`Cell[1,4]`，其中
  * 属于`RegionA∩B`的单元格
    * 至少有一个，候选数 ⊆ `XYZN`
  * 属于`RegionA-B`的单元格
    * 至少有一个，候选数 ⊆ `XYN`
  * 属于`RegionB-A`的单元格
    * 至少有一个，候选数为`ZN`

所以

* `Cell[1,4]`的共同影响区域的单元格
  * 必不填入数字`N`

> 枚举`RegionA∩B`的可能性

![WXYZ-Wing](https://www.sudokuwiki.org/PuzImages/wxyzname.png)

### 技巧拓展

* \[\[三分支匹配法]]：拓展分析数的数量

> [SudokuWiki.org - WXYZ-Wing ](https://www.sudokuwiki.org/WXYZ_Wing)[WXYZ - Wings : Advanced solving techniques](http://forum.enjoysudoku.com/wxyz-wings-t30012.html)
