Module yen

Source
Expand description

最短パスをk個列挙する。

§Problems

Functions§

yen_algorithm
有向グラフg上でfromからtoへのパスを、その距離が小さい順にk個を返す。