Skip to content

Monge グラフ上の $d$-辺最短路#128

Merged
MiSawa merged 10 commits intogh-pagesfrom
d-edge-shortest-path-monge
Apr 3, 2021
Merged

Monge グラフ上の $d$-辺最短路#128
MiSawa merged 10 commits intogh-pagesfrom
d-edge-shortest-path-monge

Conversation

@noshi91
Copy link
Copy Markdown
Owner

@noshi91 noshi91 commented Mar 28, 2021

Copy link
Copy Markdown
Collaborator

@kmyk kmyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

読みました。丁寧に書かれていてとてもよかったです。改善できそうな細かい点はいくつか (あと 1 種類だけ記法の問題は) あってコメント数だけを見れば多いのですが、大きな問題はなにもなかったように思います。

Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
@kmyk
Copy link
Copy Markdown
Collaborator

kmyk commented Mar 28, 2021

念のためレートが高めの人にも確認をお願いしておきたい。ping @MiSawa @hos-lyric @yosupo06

@noshi91
Copy link
Copy Markdown
Owner Author

noshi91 commented Mar 28, 2021

アルゴリズム名がないので困る問題以外はすぐに直せると思いますので、直します

Copy link
Copy Markdown
Collaborator

@MiSawa MiSawa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

とりあえず補題1まで読みました。続きは(多分)広義明日読みます。

Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md
@MiSawa
Copy link
Copy Markdown
Collaborator

MiSawa commented Mar 28, 2021

ついでに、output が最短路長になっています。

これが何を指しているのか分からなかったのですが、誤字関連ですか?

あ、すみません、タイトルから勝手に最短路を求められると思っていました。記事中ではわりと区別されていて、先を読めばわかるようになっていそうな予感がしています。
(このアルゴリズムが求めるのが最短路なのか最短路長なのかの違いで、非本質要素にしろ復元可能なら「output: 〜最短路」と書き、復元不可能ならタイトルを「〜最短路長」とするべきな気がします。)

@noshi91
Copy link
Copy Markdown
Owner Author

noshi91 commented Mar 28, 2021

復元できてもいい気がするのですが、思いつかないので最短路長で統一します。

@noshi91
Copy link
Copy Markdown
Owner Author

noshi91 commented Mar 28, 2021

ざっくりと修正しました。
その他気付いた場所も修正を加えたので、お手数ですが diff を確認して戻した方がいいと思ったら指摘してください。

Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
@MiSawa
Copy link
Copy Markdown
Collaborator

MiSawa commented Mar 29, 2021

復元ですが、

  • LARSCH algorithm で最短経路木が得られるので、(枝数を気しなければ) 最短経路を一つ復元することは出来る。
  • λ を上下に摂動すると、d 辺使うときと同じコストの中で、枝数が最小と最大の最短経路が復元できる。当然この最小最大の区間に d が入っている。
  • 補題 1 と同じ手法を (一つずらしじゃなくて適切な個数ずらしで) 上の二つのパスに適用すると、ちょうど d の経路とちょうど (最小+最大)-d の経路が同時に得られて、これが d-最短経路 (と (最小+最大)-d 最短路)

とかでなんとかなりませんか

@noshi91
Copy link
Copy Markdown
Owner Author

noshi91 commented Mar 29, 2021

確かにそれでできますね、ありがとうございます。
補題の構成を少し変える必要があるかもしれないと思いました

Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
@MiSawa
Copy link
Copy Markdown
Collaborator

MiSawa commented Mar 29, 2021

とりあえず一通り読みましたが、現状(できれば復元の話が欲しい以外)よさそうに見えます。大変面白かったです。

@noshi91
Copy link
Copy Markdown
Owner Author

noshi91 commented Mar 29, 2021

最短路の復元が書けるように文章の構成を調整します。
しばらく時間が掛かると思います。

@noshi91
Copy link
Copy Markdown
Owner Author

noshi91 commented Apr 2, 2021

復元を書こうと頑張ってみたのですが、上手くまとまりませんでした
とりあえず復元なしでページを作成することを考えているのですが、不都合はありますか?
後から復元を書くときにページの名前を 最短路長 → 最短路 に変えることになるのが一番面倒かもしれません

@kmyk
Copy link
Copy Markdown
Collaborator

kmyk commented Apr 2, 2021

とりあえず復元なしでページを作成することを考えているのですが、不都合はありますか?
後から復元を書くときにページの名前を 最短路長 → 最短路 に変えることになるのが一番面倒かもしれません

特に不都合はないです。ページ名や URL は後から簡単に (かつリンクを壊さずに) 変更できます。

@noshi91
Copy link
Copy Markdown
Owner Author

noshi91 commented Apr 2, 2021

細かい修正や順序の組み換えを行いました。
復元の話題は載せていません。
時間があるときに確認をお願いします。

Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
@noshi91 noshi91 requested review from MiSawa and kmyk April 2, 2021 15:13
@noshi91
Copy link
Copy Markdown
Owner Author

noshi91 commented Apr 2, 2021

概要で LARSCH Algorithm の名前を出さないと、詳細でこの最短路を求めるアルゴリズムまで説明されると思ってしまいそうなので、書きました。

Copy link
Copy Markdown
Collaborator

@kmyk kmyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

細かい記法の問題がひとつを除いて、問題なさそうです

Comment thread _algorithms/d-edge-shortest-path-monge.md Outdated
@kmyk
Copy link
Copy Markdown
Collaborator

kmyk commented Apr 3, 2021

マージボタンを押したり報告ツイートをしたりするのは @MiSawa さんに任せたいです (やり慣れている人が多い方がよいので)

@MiSawa MiSawa merged commit 5745317 into noshi91:gh-pages Apr 3, 2021
@noshi91 noshi91 deleted the d-edge-shortest-path-monge branch April 3, 2021 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants