from package4.digraphGNP import GNP
from package4.bellmanFord import BellmanFord


def johnson(G: GNP, w):
    BellmanFord(G, w, G.n_verticies - 1)

bce9a21a2975b15acd36227eb0fa4174a0828b95
<mask token>

<mask token>


def johnson(G: GNP, w):
    BellmanFord(G, w, G.n_verticies - 1)

from package4.digraphGNP import GNP
from package4.bellmanFord import BellmanFord


def johnson(G: GNP, w):
    BellmanFord(G, w, G.n_verticies - 1)
