-
1:
procedure BunkerVolume(
)
-
2:
-
3:
-
4:
-
5:
for
in
do
-
6:
if
then
-
7:
-
8:
-
9:
-
10:
-
11:
else if
then
-
12:
-
13:
-
14:
-
15:
-
16:
else
-
17:
-
18:
-
19:
-
20:
-
21:
end if
-
22:
if
then
-
23:
-
24:
-
25:
else if
and
then
-
26:
-
27:
-
28:
-
29:
-
30:
else if
then
-
31:
-
32:
-
33:
else if
then
-
34:
-
35:
-
36:
end if
-
37:
end for
-
38:
if
then
-
39:
-
40:
-
41:
else
-
42:
-
43:
end if
-
44:
return
-
45:
end procedure