标签:
奇偶剪枝是数据结构的搜索中,剪枝的一种特殊小技巧。
s
|
||||
|
|
||||
|
|
||||
|
|
||||
+
|
—
|
—
|
—
|
e
|
s
|
—
|
—
|
—
|
|
—
|
—
|
+
|
||
|
|
+
|
|||
|
|
||||
+
|
—
|
—
|
—
|
e
|
0
|
1
|
0
|
1
|
0 |
1 |
0
|
1
|
0
|
1 |
0
|
1
|
0 | 1 | 0 |
1
|
0 | 1 | 0 | 1 |
0
|
1
|
0
|
1
|
0
|
s
|
—
|
—
|
—
|
|
—
|
—
|
+
|
||
|
|
+
|
|||
|
|
||||
+
|
—
|
—
|
—
|
e
|
s
|
—
|
—
|
—
|
|
—
|
—
|
+
|
||
|
|
+
|
|||
|
|
+ | — | e | |
+
|
—
|
—
|
0
|
1
|
0
|
1
|
0 |
1 |
0
|
1
|
0
|
1 |
0
|
1
|
0 | 1 | 0 |
1
|
0 | 1 | 0 | 1 |
0
|
1
|
0
|
1
|
0
|
s
|
+ | |||
+
|
— | |||
| | ||||
+ | — | |||
—
|
—
|
e
|
标签:
原文地址:http://blog.csdn.net/moguxiaozhe/article/details/44941543