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 14, 2023
1 parent c164c71 commit 1965be5
Show file tree
Hide file tree
Showing 21 changed files with 414 additions and 33 deletions.
15 changes: 14 additions & 1 deletion 技巧/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- [待定数组(基础)](#%E5%BE%85%E5%AE%9A%E6%95%B0%E7%BB%84%E5%9F%BA%E7%A1%80)
- [链(基础)](#%E9%93%BE%E5%9F%BA%E7%A1%80)
- [标准链](#%E6%A0%87%E5%87%86%E9%93%BE)
- [烟花](#%E7%83%9F%E8%8A%B1)
- [骨灰级](#%E9%AA%A8%E7%81%B0%E7%BA%A7)
- [致命结构](#%E8%87%B4%E5%91%BD%E7%BB%93%E6%9E%84)
- [待定死锁集合](#%E5%BE%85%E5%AE%9A%E6%AD%BB%E9%94%81%E9%9B%86%E5%90%88)
Expand Down Expand Up @@ -212,6 +213,12 @@
- 区块链 / Grouped AIC
- 区块不连续环 / Grouped Disc. (Nice) Loop

#### 烟花

- 烟花 / [Fireworks]
- 三重烟花 / [Triple Firework]
- 四重烟花 / [Quadruple Firework]

## 骨灰级

### 致命结构
Expand Down Expand Up @@ -600,9 +607,15 @@

[Empty Rectangle]: http://www.sudokufans.org.cn/forums/topic/1053/?do=findComment&comment=4859

[Fireworks]: 图谱/链/烟花/烟花.md

[Triple Firework]: 图谱/链/烟花/三重烟花.md

[Quadruple Firework]: 图谱/链/烟花/四重烟花.md

[Remote Pairs]: http://www.sudokufans.org.cn/forums/topic/42/?do=findComment&comment=471

[Almost Locked Pair]: http://www.sudokufans.org.cn/forums/topic/57/?do=findComment&comment=360
[Almost Locked Pair]: 图谱/待定数组/欠一数组/欠一数对.md

[毛刺数组]: https://zhuanlan.zhihu.com/p/33820355

Expand Down
1 change: 1 addition & 0 deletions 技巧/分类/多区域/单数/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
- 双强链
- 摩天楼
- 双线风筝
- 烟花
- 西尾彻也强制链组
- 守护者
- 涂色法
Expand Down
3 changes: 3 additions & 0 deletions 技巧/分类/多区域/多数/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
- 空矩形
- 区块链
- 区块不连续环
- 烟花
- 三重烟花
- 四重烟花
- 超标准链
- 超链置ALS
- _按组合技巧分类:_
Expand Down
3 changes: 2 additions & 1 deletion 技巧/图谱/.obsidian/community-plugins.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[
"table-editor-obsidian",
"recent-files-obsidian"
"recent-files-obsidian",
"tag-wrangler"
]
11 changes: 9 additions & 2 deletions 技巧/图谱/.obsidian/graph.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,18 @@
}
},
{
"query": "tag:#Level/n",
"query": "tag:#Level/b",
"color": {
"a": 1,
"rgb": 5431378
}
},
{
"query": "tag:#Level/a",
"color": {
"a": 1,
"rgb": 5431473
}
}
],
"collapse-display": false,
Expand All @@ -46,6 +53,6 @@
"repelStrength": 15.4459635416667,
"linkStrength": 1,
"linkDistance": 97,
"scale": 0.8205018420441825,
"scale": 0.5044572008139964,
"close": true
}
152 changes: 152 additions & 0 deletions 技巧/图谱/.obsidian/plugins/tag-wrangler/main.js

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions 技巧/图谱/.obsidian/plugins/tag-wrangler/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "tag-wrangler",
"name": "Tag Wrangler",
"author": "PJ Eby",
"authorUrl": "https://github.com/pjeby",
"version": "0.5.6",
"minAppVersion": "0.15.9",
"description": "Rename, merge, toggle, and search tags from the tag pane",
"isDesktopOnly": false
}
1 change: 1 addition & 0 deletions 技巧/图谱/.obsidian/plugins/tag-wrangler/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 21 additions & 17 deletions 技巧/图谱/.obsidian/workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@
"state": {}
}
}
],
"currentTab": 1
]
}
],
"direction": "horizontal",
Expand Down Expand Up @@ -140,7 +139,8 @@
"state": {}
}
}
]
],
"currentTab": 2
}
],
"direction": "horizontal",
Expand All @@ -159,36 +159,40 @@
},
"active": "750e8ad12eb79598",
"lastOpenFiles": [
"链/烟花/烟花.md",
"链/烟花/四重烟花.md",
"链/烟花/三重烟花.md",
"链/烟花",
"待定数组/欠一数组/欠一数对.md",
"区块摒除.md",
"行列区块摒除.md",
"宫区块摒除.md",
"链/标准链/规则Wing/三分支匹配法.md",
"Pasted image 20230314154611.png",
"区块.md",
"Template/【Tpl】技巧.md",
"链/标准链/规则Wing/四分支匹配法.md",
"数组/显性数组/显性数组.md",
"数组/显性数组/显性数对.md",
"链/标准链/规则Wing/双分支匹配法.md",
"待定数组/欠一数组",
"待定数组",
"数组/隐性数组/隐性三数组.md",
"区块摒除.md",
"链/标准链/未命名.md",
"链/标准链/规则Wing",
"链/标准链",
"数组/显性数组/显性四数组.md",
"数组/隐性数组",
"数组/显性数组",
"",
"行列区块摒除.md",
"宫区块摒除.md",
"区块.md",
"数组/隐性数组/隐性四数组.md",
"数组/隐性数组/隐性数对.md",
"Template/【Tpl】技巧.md",
"数组/显性数组/显性三数组.md",
"数组/显性数组/显性数对.md",
"数组/显性数组/显性数组.md",
"数组/隐性数组/隐性数组.md",
"Level1/摒除法.md",
"关系/关系.md",
"Level2/标准链.md",
"关系/同单元格异数强关系.md",
"关系/同单元格异数弱关系.md",
"关系/同区域同数强关系.md",
"关系/同区域异数强关系.md",
"关系/同区域异数弱关系.md",
"关系/同区域同数弱关系.md",
"一度 SdC(双区域跨区数组).md",
"Level1/数组.md"
"关系/同单元格异数弱关系.md"
]
}
2 changes: 1 addition & 1 deletion 技巧/图谱/Template/【Tpl】技巧.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@

## 标签

#Level/n
#Level/xxx

> <引用链接>
7 changes: 7 additions & 0 deletions 技巧/图谱/区块.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- [区块](#%E5%8C%BA%E5%9D%97)
- [定义](#%E5%AE%9A%E4%B9%89)
- [标签](#%E6%A0%87%E7%AD%BE)
- [待定区块](#%E5%BE%85%E5%AE%9A%E5%8C%BA%E5%9D%97)

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

Expand All @@ -17,3 +18,9 @@
## 标签

- #Concept

# 待定区块
- 单一区域`Region`
- 对于候选数 `X[1,n]`
- 若存在 m 个单元格,其中必然填入数字 `X[1,n]`中的 n-1 个
- 则这m 个单元格 组成一个 `X[1,n]的待定区块`
4 changes: 2 additions & 2 deletions 技巧/图谱/区块摒除.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
因为:
- 单一区域`RegionA`
- 必然存在数字`X`
- 所有可填写数字`X`的单元格,恰好**都**属于另一区域`ReginB`
- 所有可填写数字`X`的单元格,恰好**都**属于另一区域`RegionB`

所以:
- 区域`ReginB`
- 区域`RegionB`
- 不属于`RegionA`的单元格
- 必不填入`X`

Expand Down
4 changes: 2 additions & 2 deletions 技巧/图谱/宫区块摒除.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
因为:
-`RegionBlockA`
- 必然存在数字`X`
- 所有可填写数字`X`的单元格,恰好**都**属于另一区域`ReginB`
- 所有可填写数字`X`的单元格,恰好**都**属于另一区域`RegionB`

所以:
- 区域`ReginB`
- 区域`RegionB`
- 不属于`RegionBlockA`的单元格
- 必不填入`X`

Expand Down
38 changes: 38 additions & 0 deletions 技巧/图谱/待定数组/欠一数组/欠一数对.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# 欠一数对

<!-- 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%A0%87%E7%AD%BE)

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

## 原理

因为
- 存在 2 个相交区域:`RegionA``RegionB`,其中:
- `RegionA∩B`的单元格既属于`RegionA`,又属于`RegionB`
- `RegionA-B`的单元格属于`RegionA`,不属于`RegionB`
- `RegionB-A`的单元格不属于`RegionA`,属于`RegionB`
- 对于候选数`XY`
- `RegionA-B`中仅有 1 个单元格`CellA1`的候选数包含`XY`,即`XY*`
- `RegionB-A`中恰有 1 个单元格`CellB1`的候选数为`XY`

所以
- `CellA1`必不填入`XY`以外的数字
- `RegionA∩B`的单元格中
- 恰好有1 格填入数字`X`或`Y`
- `RegionB-A`
- 除了`CellB1`的其他单元格
- 必不填入`X`
- 必不填入`Y`

> `RegionA∩B``RegionA-B``RegionB-A`分别有 1 个`XY`[[区块#待定区块|待定区块]]
## 标签

#Level/b

> [SudokuWiki.org - Almost Locked Pair](https://www.sudokuwiki.org/Almost_Locked_Pair)
4 changes: 2 additions & 2 deletions 技巧/图谱/行列区块摒除.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
因为:
- 行列`RegionLineA`
- 必然存在数字`X`
- 所有可填写数字`X`的单元格,恰好**都**属于另一区域`ReginB`
- 所有可填写数字`X`的单元格,恰好**都**属于另一区域`RegionB`

所以:
- 区域`ReginB`
- 区域`RegionB`
- 不属于`RegionLineA`的单元格
- 必不填入`X`

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@

## 标签

#Level/n
#Level/a

> [SudokuWiki.org - XYZ-Wing](https://www.sudokuwiki.org/XYZ_Wing)
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@

## 标签

#Level/n
#Level/a

> [SudokuWiki.org - Y-Wing Strategy](https://www.sudokuwiki.org/Y_Wing_Strategy)
6 changes: 3 additions & 3 deletions 技巧/图谱/链/标准链/规则Wing/四分支匹配法.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
- `RegionB-A`的单元格不属于`RegionA`,属于`RegionB`
- 存在 4 个单元格`Cell[1,4]`,其中
- 属于`RegionA∩B`的单元格
- 至少有一个,候选数为`XYZN`
- 至少有一个,候选数 ⊆ `XYZN`
- 属于`RegionA-B`的单元格
- 至少有一个,候选数为`XYN`
- 至少有一个,候选数 ⊆ `XYN`
- 属于`RegionB-A`的单元格
- 至少有一个,候选数为`ZN`

Expand All @@ -38,7 +38,7 @@

## 标签

#Level/n
#Level/a

> [SudokuWiki.org - WXYZ-Wing ](https://www.sudokuwiki.org/WXYZ_Wing)
> [WXYZ - Wings : Advanced solving techniques](http://forum.enjoysudoku.com/wxyz-wings-t30012.html)
44 changes: 44 additions & 0 deletions 技巧/图谱/链/烟花/三重烟花.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# 三重烟花

<!-- 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%E7%BB%84%E5%90%88)
- [标签](#%E6%A0%87%E7%AD%BE)

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

## 原理

因为
- 存在 2 个行列区域:行`RegionRow`、列`RegionColumn`,其中
- 单元格`Cell1`同时属于行`RegionRow`、列`RegionColumn`、宫`RegionBlock`
- `RegionRow∩Block`的单元格,既属于`RegionRow`,又属于`RegionBlock`
- `RegionColumn∩Block`的单元格,既属于`RegionColumn`,又属于`RegionBlock`
- 单元格`Cell2`属于`RegionRow`,不属于`RegionBlock`
- 单元格`Cell3`属于`RegionColumn`,不属于`RegionBlock`
- 对于候选数`XYZ`
- `RegionRow`中
- 仅`RegionRow∩Block`和`Cell2`可填入`XYZ`
- `RegionColumn`中
- 仅`RegionColumn∩Block`和`Cell3`可填入`XYZ`

所以
- 单元格`Cell1``Cell2``Cell3`恰好分别填入
- 1 个数字`X`
- 1 个数字`Y`
- 1 个数字`Z`

![Triple Firework](https://www.sudokuwiki.org/PuzImages/Firework2.png)

### 技巧组合

- [[烟花]]:同区域不同候选数 * 3

## 标签

#Level/2

> [SudokuWiki.org - Fireworks](https://www.sudokuwiki.org/Fireworks)
Loading

0 comments on commit 1965be5

Please sign in to comment.