Let $G=(V,E)$ be a directed graph with weights $c:E\rightarrow\mathbb{R}$, $s,t\in V$ two nodes ($s\neq t$) and $k\geq 1$.
How can I use the Bellman-Ford Algorithm to determine the shortest path between $s$ and $t$ with $k$-edges (or show that there is none).
So was thinking about induction, but there was this hint that instructed to use an "extended" version of $G$ where there are multiple copies of every edge $v\in V$. This however confused my quite a bit. How could I go on, using this hint ?
Best Answer
Here is an outline.