Check_Point (path P)

1. {

2. P = {N1, N2, ∙∙∙, Ny−1, Ny, Ny+1, ∙∙∙, Nn}

3. Identify layer “Li

4. do {

5. j = node(i)

6. identify high energy level of all the nodes in the level i

7. Nj = Nodal-node for energy level(i)

8. i++

9. } while(i! = null);

10. Nj in level L1, L2, ∙∙∙, Ln

11. If (path “P” exists) then

12. net_path = P and Nnodal

13. Nnodal = set_assigned(P)

14. end if

15. }