| 结果优先——UP型抽取过程 |
| $$\begin{array} {c|c|c|c|c|c|c|c}{} & R_{e} & T_{e} \\\hline 鼠&鼠,牛,虎,狗,猪&鼠 \\\hline 牛&牛,虎,猪&牛 \\\hline 虎&虎,猪&虎 \\\hline 兔&兔,猪&兔 \\\hline 龙&牛,虎,龙,狗,猪&龙 \\\hline 蛇&虎,蛇,猪&蛇 \\\hline 马&牛,虎,马,鸡,猪&马 \\\hline 羊&鼠,牛,虎,羊,狗,猪&羊 \\\hline 猴&鼠,牛,虎,猴,狗,猪&猴 \\\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 牛&牛,虎&牛 \\\hline 虎&\color{red}{\fbox{虎}}&\color{red}{\fbox{虎}} \\\hline 兔&\color{red}{\fbox{兔}}&\color{red}{\fbox{兔}} \\\hline 龙&牛,虎,龙,狗&龙 \\\hline 蛇&虎,蛇&蛇 \\\hline 马&牛,虎,马,鸡&马 \\\hline 羊&鼠,牛,虎,羊,狗&羊 \\\hline 猴&鼠,牛,虎,猴,狗&猴 \\\hline 鸡&牛,虎,鸡&鸡 \\\hline 狗&牛,虎,狗&狗 \\\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 龙&牛,龙,狗&龙 \\\hline 蛇&\color{red}{\fbox{蛇}}&\color{red}{\fbox{蛇}} \\\hline 马&牛,马,鸡&马 \\\hline 羊&鼠,牛,羊,狗&羊 \\\hline 猴&鼠,牛,猴,狗&猴 \\\hline 鸡&牛,鸡&鸡 \\\hline 狗&牛,狗&狗 \\\hline \end{array} $$ |
| 抽取出牛、蛇 剩余的情况如下 |
| $$\begin{array} {c|c|c|c|c|c|c|c}{} & R_{e} & T_{e} \\\hline 鼠&鼠,狗&鼠 \\\hline 龙&龙,狗&龙 \\\hline 马&马,鸡&马 \\\hline 羊&鼠,羊,狗&羊 \\\hline 猴&鼠,猴,狗&猴 \\\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 鼠&\color{red}{\fbox{鼠}}&\color{red}{\fbox{鼠}} \\\hline 龙&\color{red}{\fbox{龙}}&\color{red}{\fbox{龙}} \\\hline 马&\color{red}{\fbox{马}}&\color{red}{\fbox{马}} \\\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 猴&\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_{12 \times12}} &鼠 &牛 &虎 &兔 &龙 &蛇 &马 &羊 &猴 &鸡 &狗 &猪\\ \hline 鼠 &1 &1 &1 & & & & & & & &1 &1\\ \hline 牛 & &1 &1 & & & & & & & & &1\\ \hline 虎 & & &1 & & & & & & & & &1\\ \hline 兔 & & & &1 & & & & & & & &1\\ \hline 龙 & &1 &1 & &1 & & & & & &1 &1\\ \hline 蛇 & & &1 & & &1 & & & & & &1\\ \hline 马 & &1 &1 & & & &1 & & &1 & &1\\ \hline 羊 &1 &1 &1 & & & & &1 & & &1 &1\\ \hline 猴 &1 &1 &1 & & & & & &1 & &1 &1\\ \hline 鸡 & &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_{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} $$以最简菊花链表示回路代入回去,即为一般性骨架矩阵 $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} $$