Y
Hacker News
new
|
ask
|
show
|
jobs
by
nickponline
169 days ago
I think this problem is called the maximum-weight closure and can be solved as max flow. You want to find a cut between source (horse) so they were no out-going edges not in the cut (escape routes).
1 comments
emil-lp
169 days ago
It's not the same problem. First, it's not directed, second it's a vertex separation problem.
link
nickponline
169 days ago
Ah yes quite right.
link