|
Algorithm 2 Function form_AG
|
|
Require:i, , , , , , ,
|
-
1:
Define , , , , , , , , (depending on the case)
-
2:
if
then
-
3:
if
then
-
4:
if
then
-
5:
, (depending on the case)
-
6:
, (depending on the case)
-
7:
, (depending on the case)
-
8:
, (depending on the case)
-
9:
-
10:
-
11:
if
then
-
12:
-
13:
-
14:
end if
-
15:
if
then
-
16:
-
17:
-
18:
-
19:
-
20:
end if
-
21:
-
22:
-
23:
return the sequences , and
|