---
# System prepended metadata

title: 第一千零一招
tags: [Photovaltaic]

---

# 第一千零一招
###### tags: `Photovaltaic`
<br>

## <font size = 6><font color = black>概念</font></font>
> * <font size = 4><font color = black>想像一個一維有序陣列：</font></font>
![](https://i.imgur.com/VAfknVW.png)
<br>

> * <font size = 4><font color = black>陣列當中每個元素的距離差為1：</font></font>
![](https://i.imgur.com/prXOMHE.png)
<br>

> * <font size = 4><font color = black>重組順序後每個元素最大距離為5，最小距離為3，這樣可以有效的平均分散元素的分布：</font></font>
![](https://i.imgur.com/KXWYtwk.png)
<br>

> * <font size = 4><font color = black>而[1,4,7,2,5,8,3,6,9]是我認為對於長度為9的序列當中最有效的分散，我稱之為完美陣列</font></font>\
<br>



## <font size = 6><font color = black>Method</font></font>
<font size = 5><font color = black>**Step1-將太陽能陣列擺成 TCT 9x9的模式**</font></font>
<br>

 ![](https://i.imgur.com/T28I3JD.png =400x400)
 **▲ TCT for 9x9，註：相同的顏色代表相同的Row**

<font size = 5><font color = black>**Step2-將陣列向左轉90度**</font></font>
 <br>
 ![](https://i.imgur.com/nb6Xr0b.png =400x400)
 **▲ After Rotate**
 <br>
 
<font size = 5><font color = black>**Step3-將陣列由下而上<font color = red>完美陣列</font>移動向右移動n-1格，以其中一個為例：**</font></font>
<br>
![](https://i.imgur.com/UzwpqMF.png)
**▲ Row3 進行移動**
<br>
![](https://i.imgur.com/7HdQHxa.png)
**▲ 溢出的從左邊補上**

<font size = 5><font color = black>**Step4-最後的重組陣列**</font></font>
 <br>
![](https://i.imgur.com/tCtYyAk.png =400x400)
 **▲ Final PV Array**
 <br>
 
## <font size = 6><font color = black>特色</font></font>
<font size = 5>**重組過程比 Sudoku 簡單，也能做到跟數獨一樣的特色**</font>
* <font size = 4>**任一3x3的矩陣內不會有重複的Row，以下將Row1的位置標記出來，可以發現任何一個3x3矩陣內不會有重複的Row1：**</font>
![](https://i.imgur.com/jwWKMFz.png)
<br>

## <font size = 6><font color = black>效果比較</font>
<font size = 5>**以下跟多個不同的方法做比較，但是可以將重點放在TCT、Optimal Sudoku與本方法0202Test做比較(有更詳細的，以後再放)**</font>
* <font size=5>**Pattern1-SW**</font>
![](https://i.imgur.com/QIHtxcb.png =500x500)
<br>
![](https://i.imgur.com/jI2jVo6.png =500x400)
<br>
    
* <font size=5>**Pattern2-LW**</font>
![](https://i.imgur.com/HyH2K7F.png =500x500)
<br>
![](https://i.imgur.com/5gkOMUh.png =500x400)

* <font size=5>**Pattern3-LN**</font>
![](https://i.imgur.com/owBaSwn.png =500x500)
<br> 
![](https://i.imgur.com/iwK7mb1.png =500x400)

* <font size=5>**Pattern4-SN**</font>
![](https://i.imgur.com/EkhQ1FG.png =500x500)
<br>
![](https://i.imgur.com/jjWFP1I.png =500x400)

* <font size=5>**Pattern4-SN2(有優勢的)**</font>
![](https://i.imgur.com/2GIh1TA.png =500x500)
<br>
![](https://i.imgur.com/6zwew0O.png =500x400)
<br>
    
* <font size=5>**統整**</font>
![](https://i.imgur.com/SppoYqc.png)
