15 082 and 6 855j
This presentation is the property of its rightful owner.
Sponsored Links
1 / 11

15.082 and 6.855J PowerPoint PPT Presentation


  • 62 Views
  • Uploaded on
  • Presentation posted in: General

15.082 and 6.855J. Label Correcting Algorithm. An Example. . . 2. 4. 2. 3. 3. 3. 1. . . -2. 6. 1. 5. 7. 0. Initialize. 2. 3. 4. 3. d(1) := 0; d(j) :=  for j  1. -4. 3. 6. . . In next slides: the number inside the node will be d(j).

Download Presentation

15.082 and 6.855J

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


15 082 and 6 855j

15.082 and 6.855J

Label Correcting Algorithm


An example

An Example

2

4

2

3

3

3

1

-2

6

1

5

7

0

Initialize

2

3

4

3

d(1) := 0; d(j) :=  for j  1

-4

3

6

In next slides: the number inside the node will be d(j).

Violating arcs will be in thick lines.


An example1

An Example

2

3

3

3

3

1

-2

6

0

Generic Step

2

3

4

3

An arc (i,j) is violating if d(j) > d(i) + cij.

-4

Pick a violating arc (i,j) and replace d(j) by d(i) + cij.


An example2

An Example

2

3

3

3

3

1

-2

6

0

6

Generic Step

2

3

4

3

An arc (i,j) is violating if d(j) > d(i) + cij.

-4

Pick a violating arc (i,j) and replace d(j) by d(i) + cij.


An example3

An Example

2

3

3

3

3

1

-2

6

0

6

Generic Step

2

3

4

3

An arc (i,j) is violating if d(j) > d(i) + cij.

-4

3

Pick a violating arc (i,j) and replace d(j) by d(i) + cij.


An example4

An Example

2

5

3

3

3

3

1

-2

6

0

6

Generic Step

2

3

4

3

An arc (i,j) is violating if d(j) > d(i) + cij.

-4

3

Pick a violating arc (i,j) and replace d(j) by d(i) + cij.


An example5

An Example

2

5

3

3

3

3

1

-2

6

0

4

6

Generic Step

2

3

4

3

An arc (i,j) is violating if d(j) > d(i) + cij.

-4

3

Pick a violating arc (i,j) and replace d(j) by d(i) + cij.


An example6

An Example

2

5

3

3

3

3

1

-2

6

0

6

4

Generic Step

2

3

4

3

An arc (i,j) is violating if d(j) > d(i) + cij.

-4

3

6

Pick a violating arc (i,j) and replace d(j) by d(i) + cij.


An example7

An Example

2

5

3

3

3

3

1

-2

6

0

6

4

Generic Step

2

3

4

3

An arc (i,j) is violating if d(j) > d(i) + cij.

-4

3

2

6

Pick a violating arc (i,j) and replace d(j) by d(i) + cij.


An example8

An Example

2

5

3

3

3

3

1

-2

6

0

6

4

9

Generic Step

2

3

4

3

An arc (i,j) is violating if d(j) > d(i) + cij.

-4

3

2

6

Pick a violating arc (i,j) and replace d(j) by d(i) + cij.


An example9

An Example

2

5

3

3

3

3

1

-2

6

0

4

6

9

Generic Step

2

3

4

3

An arc (i,j) is violating if d(j) > d(i) + cij.

-4

2

3

6

Pick a violating arc (i,j) and replace d(j) by d(i) + cij.

No arc is violating

We now show the predecessor arcs.

The distance labels are optimal


  • Login