Peanut-Tang

Let's meet again at the crossroads of cause and effect.

0%

In graph theory, an expander graph is a sparse graph that has strong connectivity properties, quantified using vertex, edge or spectral expansion. Expander constructions have spawned research in pure and applied mathematics, with several applications to complexity theory, design of robust computer networks, and the theory of error-correcting codes.

阅读全文 »

一种可以在 O(mlogf(m+n)logm)O(m\log |f| (m + n) \log m) 时间复杂度内求解最大流的诡异方法,其中 f|f| 是最大流流量。方法名称是我自己胡乱翻译的,原名叫:The Fattest Augmenting Path Heuristic。

阅读全文 »

论文 On the All-pairs-shortest-path Problem. Raimund Seidel, 1992 阅读笔记。这篇文章给出了一个在 O(M(n)logn)O(M(n)\log n) 时间复杂度内计算出无向无权图全源最短路长度的算法,和一个在 O(M(n)logn)O(M(n)\log n) 时间复杂度内找出全源最短路的随机算法,其中 M(n)M(n) 为对两个 n×nn\times n 的小整数矩阵做乘法的时间复杂度(注意:如果有 M(n)=O(n2)M(n)=O(n^2),则找出全源最短路时间复杂度为 O(n2log2n)O(n^2\log^2 n))。该算法还可以推广到有向无权图上。

阅读全文 »

这是一道很多微积分教材上都有的拉格朗日乘子法例题。但令笔者十分不满意的是,大部分教材直接给出了 V(x,y,z)=8xyzV(x,y,z)=8xyz 这样一个体积表达式,却没有给出为什么。明明长方体的边可以不平行于坐标轴。近日笔者认真思考了这一问题,得到了完备的证明,自觉这个解答有些有趣,故在此记录。

阅读全文 »