- -. , .
, : Fs: S -► L Fo: O -► L.
T , T(r,v) = v * :
1) readeM*[s,o] read i M[s,o], :
Fs(s) > Fo (o) F = F *
2) Fs^F*, :
M = M s Fo = F * V s, o, F * (s) < Fo *(o), read ^M[s,o]
3) Fo^F* :
M = M o Fs = F *
V s, o, F * (s) < Fo *(o), read ^M[s,o] T , T(r,v) = v * :
1) writeeM*[s,o] write M[s,o], :
Fo(o) > Fs (s) F = F *
2) Fs^F*, :
M = M s Fo = F; V s, o, F*(s) > F*(o), write & M[s, o]
3) Fo^F* :
M =M*
Fs = F *
V s, o, F*(s) > F*(o), write & M[s, o]
, , .
, , , .
, , .
v v * v, .. , , :
2.2 ( -). , , -.
. -, .
- -, , .
. , .
- . , .
|
|
2.2.8.1.
S, O L.
(F,M),
F - ;
M - ( -). C:SuO > P (S) , . P (S) S.
^(v 0 ,R, Ta) v 0, R Ta: (S V R) > V, (a , ). , v e V, r R s e S, v * = Ta(s, v, r).
2.2.8.2.
Ta , Ta(s,v,r) = v *, v = (F,M) v* = (F*,M*), :
x S U O: F*(x) = F(x), s G C(x)
, , , , , .
2.2.8.3. J2(v0,R, Ta)
(v 0, R, Ta) , :
1. v0 ,
R,
-;
2. Ta .
.
-,
-.