| 结果优先——UP型抽取过程 |
| $$\begin{array} {c|c|c|c|c|c|c|c}{} & R_{e} & T_{e} \\\hline 鼠&\color{red}{\fbox{鼠,虎,龙,鸡,狗}}&\color{red}{\fbox{鼠,虎,龙,鸡,狗}} \\\hline 牛&鼠,牛,虎,龙,蛇,鸡,狗&牛 \\\hline 虎&\color{red}{\fbox{鼠,虎,龙,鸡,狗}}&\color{red}{\fbox{鼠,虎,龙,鸡,狗}} \\\hline 兔&鼠,牛,虎,兔,龙,蛇,鸡,狗&兔 \\\hline 龙&\color{red}{\fbox{鼠,虎,龙,鸡,狗}}&\color{red}{\fbox{鼠,虎,龙,鸡,狗}} \\\hline 蛇&鼠,虎,龙,蛇,鸡,狗&蛇 \\\hline 马&鼠,牛,虎,龙,蛇,马,羊,猴,鸡,狗&马 \\\hline 羊&鼠,牛,虎,龙,蛇,羊,猴,鸡,狗&羊 \\\hline 猴&鼠,牛,虎,龙,蛇,猴,鸡,狗&猴 \\\hline 鸡&\color{red}{\fbox{鼠,虎,龙,鸡,狗}}&\color{red}{\fbox{鼠,虎,龙,鸡,狗}} \\\hline 狗&\color{red}{\fbox{鼠,虎,龙,鸡,狗}}&\color{red}{\fbox{鼠,虎,龙,鸡,狗}} \\\hline 猪&\color{red}{\fbox{猪}}&\color{red}{\fbox{猪}} \\\hline \end{array} $$ |
| 抽取出鼠、虎、龙、鸡、狗、猪 剩余的情况如下 |
| $$\begin{array} {c|c|c|c|c|c|c|c}{} & R_{e} & T_{e} \\\hline 牛&牛,蛇&牛 \\\hline 兔&牛,兔,蛇&兔 \\\hline 蛇&\color{red}{\fbox{蛇}}&\color{red}{\fbox{蛇}} \\\hline 马&牛,蛇,马,羊,猴&马 \\\hline 羊&牛,蛇,羊,猴&羊 \\\hline 猴&牛,蛇,猴&猴 \\\hline \end{array} $$ |
| 抽取出蛇 剩余的情况如下 |
| $$\begin{array} {c|c|c|c|c|c|c|c}{} & R_{e} & T_{e} \\\hline 牛&\color{red}{\fbox{牛}}&\color{red}{\fbox{牛}} \\\hline 兔&牛,兔&兔 \\\hline 马&牛,马,羊,猴&马 \\\hline 羊&牛,羊,猴&羊 \\\hline 猴&牛,猴&猴 \\\hline \end{array} $$ |
| 抽取出牛 剩余的情况如下 |
| $$\begin{array} {c|c|c|c|c|c|c|c}{} & R_{e} & T_{e} \\\hline 兔&\color{red}{\fbox{兔}}&\color{red}{\fbox{兔}} \\\hline 马&马,羊,猴&马 \\\hline 羊&羊,猴&羊 \\\hline 猴&\color{red}{\fbox{猴}}&\color{red}{\fbox{猴}} \\\hline \end{array} $$ |
| 抽取出兔、猴 剩余的情况如下 |
| $$\begin{array} {c|c|c|c|c|c|c|c}{} & R_{e} & T_{e} \\\hline 马&马,羊&马 \\\hline 羊&\color{red}{\fbox{羊}}&\color{red}{\fbox{羊}} \\\hline \end{array} $$ |
| 抽取出羊 剩余的情况如下 |
| $$\begin{array} {c|c|c|c|c|c|c|c}{} & R_{e} & T_{e} \\\hline 马&\color{red}{\fbox{马}}&\color{red}{\fbox{马}} \\\hline \end{array} $$ |
| 抽取出马 剩余的情况如下 |
| 层级 | 结果优先——UP型 |
| 第0层 | 鼠,虎,龙,鸡,狗,猪 |
| 第1层 | 蛇 |
| 第2层 | 牛 |
| 第3层 | 兔,猴 |
| 第4层 | 羊 |
| 第5层 | 马 |
求解过程如链接所示:缩点、缩边,再把回路要素替代回去。这步是最难的,本处用的算法那人得了计算机界的诺奖-图领奖,算法为trajan算法的组合。现在的论文都忽略了这步。
可达矩阵 R的缩点矩阵 R'
$$R'=\begin{array} {c|c|c|c|c|c|c|c}{M_{8 \times8}} &鼠+虎+龙+鸡+狗 &牛 &兔 &蛇 &马 &羊 &猴 &猪\\ \hline 鼠+虎+龙+鸡+狗 &1 & & & & & & & \\ \hline 牛 &1 &1 & &1 & & & & \\ \hline 兔 &1 &1 &1 &1 & & & & \\ \hline 蛇 &1 & & &1 & & & & \\ \hline 马 &1 &1 & &1 &1 &1 &1 & \\ \hline 羊 &1 &1 & &1 & &1 &1 & \\ \hline 猴 &1 &1 & &1 & & &1 & \\ \hline 猪 & & & & & & & &1\\ \hline \end{array} $$缩点矩阵 R'的缩边矩阵 S' 公式:$ S'=R'-(R'-I)^2-I$
$$S'=\begin{array} {c|c|c|c|c|c|c|c}{M_{8 \times8}} &鼠+虎+龙+鸡+狗 &牛 &兔 &蛇 &马 &羊 &猴 &猪\\ \hline 鼠+虎+龙+鸡+狗 & & & & & & & & \\ \hline 牛 & & & &1 & & & & \\ \hline 兔 & &1 & & & & & & \\ \hline 蛇 &1 & & & & & & & \\ \hline 马 & & & & & &1 & & \\ \hline 羊 & & & & & & &1 & \\ \hline 猴 & &1 & & & & & & \\ \hline 猪 & & & & & & & & \\ \hline \end{array} $$以最简菊花链表示回路代入回去,即为一般性骨架矩阵 $S$
$$S=\begin{array} {c|c|c|c|c|c|c|c}{M_{12 \times12}} &鼠 &牛 &虎 &兔 &龙 &蛇 &马 &羊 &猴 &鸡 &狗 &猪\\ \hline 鼠 & & &1 & & & & & & & & & \\ \hline 牛 & & & & & &1 & & & & & & \\ \hline 虎 & & & & &1 & & & & & & & \\ \hline 兔 & &1 & & & & & & & & & & \\ \hline 龙 & & & & & & & & & &1 & & \\ \hline 蛇 & & & & &1 & & & & & & & \\ \hline 马 & & & & & & & &1 & & & & \\ \hline 羊 & & & & & & & & &1 & & & \\ \hline 猴 & &1 & & & & & & & & & & \\ \hline 鸡 & & & & & & & & & & &1 & \\ \hline 狗 &1 & & & & & & & & & & & \\ \hline 猪 & & & & & & & & & & & & \\ \hline \end{array} $$