Shortest Path



Hi Everyone,
Can you guide me through the following problem:
in the shortest path problem if we have vertex costs in addition to
edge lengths how is the algorithm changed! I am trying to modify the
Dijkstra and Bellman_ford algorithm to answer this but i am stuck!!!
any Hints
thx

.