|
Algorithm 1 Context-based predictive information: pseudocode. |
-
1:
Input: , , c,
-
2:
Implement on , the first stage of the I/O CT algorithm to obtain a full I/O context tree
-
3:
fori in 1 to
do
-
4:
Implement the following stages of the I/O CT algorithm
-
5:
with , , , and obtain , ,
-
6:
Calculate
-
7:
if || = || then
-
8:
-
9:
else
-
10:
-
11:
end if
-
12:
if
then
-
13:
return ,
-
14:
end if
-
15:
end for
-
16:
return
|