04.03.2013 Views

BULETINUL INSTITUTULUI POLITEHNIC DIN IAŞI - Universitatea ...

BULETINUL INSTITUTULUI POLITEHNIC DIN IAŞI - Universitatea ...

BULETINUL INSTITUTULUI POLITEHNIC DIN IAŞI - Universitatea ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

then, under the principle of optimality:<br />

(5) V i ( V j + mij<br />

)<br />

=<br />

j≠i<br />

Bul. Inst. Polit. Iaşi, t. LVI (LX), f. 2, 2010 207<br />

min , ( i = 0, n −1<br />

; j = 0,<br />

n ) and V = 0 .<br />

To solve system (5) shall be iterative, noting Vi the value of Vi<br />

obtained at<br />

iteration k, namely:<br />

(6) V i = min<br />

Calculate:<br />

0<br />

(7) V i ( V j + mij<br />

)<br />

and then:<br />

0<br />

1<br />

= min , ( = 0, n −1<br />

j≠<br />

i<br />

k<br />

k −1<br />

(8) V i = ( V j + mij<br />

)<br />

j≠<br />

i<br />

( i = 0, n −1<br />

); V 0 .<br />

k<br />

0<br />

n =<br />

i ; j = 0,<br />

n ) and V 0 .<br />

n<br />

1<br />

n =<br />

min , ( i = 0, n −1<br />

; j = 0,<br />

n ) and V = 0 .<br />

Ordinal iteration of k expressed by relations (8) gives values only for the<br />

finite length of roads at most k + 1 arriving at xn<br />

, choosing between them is the<br />

minimum.<br />

From iteration to the next:<br />

(9)<br />

k<br />

−1<br />

≤ k k<br />

i Vi<br />

V , ∀ j .<br />

Numbers Vi<br />

( i ≠ n ; k = 0,<br />

1,...<br />

) monotone decreasing pattern formed that<br />

reach to the minimum necessary, after a finite number of iterations which not<br />

exceeding n −1.<br />

So algorithm stops when it reaches an iteration k, such that<br />

+ 1<br />

= , (<br />

k k<br />

V V i = 0,<br />

n ), and the minimum between the peaks road and x is<br />

i i<br />

k k + 1<br />

0 = V0<br />

V<br />

. To identify which roads have minimum values founded, are<br />

derived from (8) that have them at the last iteration we have:<br />

k<br />

n<br />

x0 n

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!