| Algorithm 2 Procedure 2 of the First-Scan Method in the Proposed Algorithm |
Begin
1. if(o!=0){
2. if(p!=0)
3. {P2C1;}
4. else
5. {P2C2;}
6. }else if(p!=0)
7. if(s!=0)
8. {P2C3;}
9. else
10. {P2C4;}
11. else if(s!=0)
12. {P2C5;}
13. else if(t!=0)
14. {P2C6;}
15. else
16. {P2C7;}
end
|