2,619
次編輯
Tankianting(討論 | 貢獻) |
Tankianting(討論 | 貢獻) |
||
行 3: | 行 3: | ||
排版學其實也可以用數學化約之 (to some degree),但是要定 spec。 | 排版學其實也可以用數學化約之 (to some degree),但是要定 spec。 | ||
<math>TotalCostMain(j) =\begin{cases} min_{0 \leq k < i} TotalCost(k) + 0 * LineCost(k+1, i)~~if~~LineCost(k+1, i) < \infty | <math>TotalCostMain(j) =\begin{cases} min_{0 \leq k < i} (TotalCost(k) + 0 * LineCost(k+1, i))~~if~~LineCost(k+1, i) < \infty \\ | ||
\infty ~~if~~LineCost(k+1, i) = \infty | |||
\end{cases} | \end{cases} | ||
</math> | </math> |