1: Input: . where . 2: . 3: For do 4: if then 5: ending the algorithm 1. 6: end if 7: if then 8: computing , and by (7) and (8). 9: end if 10: end for 11: For do 12: if then 13: ending the algorithm 1. 14: end if 15: if then 16: computing , and by (9) and (10). 17: end if 18: end for 19: For do 20: if then 21: ending the algorithm 1. 22: end if 23: if then 24: computing , and by (11) and (12). 25: end if 26: end for |