|
||||||||
PREV NEXT | FRAMES NO FRAMES |
c,pad
, for -h<pad<h
,
and write the transitions to the file.
a
;
note that aLen
is less than the size of the array
a
.
a
and b
, and update the
lcs
table; see the overview of the code for the
definition of Tc,l.
b
h
, and write it to
the file.
lcs[i][j]
based on the values
in a[i]
, b[j]
,
lcs[i-1][j-1]
, lcs[i-1][j]
, and
lcs[i][j-1]
.
x
as an h
-bit integer,
place the successive bits into a[1],a[2],...,a[h]
.
State s
into a table.
h
differences in the last
column of the limited-history lcs table.
h
differences in the last
row of the limited-history lcs table.
h
entries in strings
a
and b
, and the last h
vertical and horizontal differences in lcs
, into
a State
four-tuple.
short
.
short
.
e
to the queue.
t
.
s
; if not found insert into
the hash table and append it to the queue; in any case return
its state number
.
filename
.
lcs[aLen][bLen]
leads to lcs[h][h]
.
filename
.
GenFn <filename> <z0> <z1>
<zdelta>
z
in the range z0
to
z1
, with a step size of zdelta
, it
computes lambda(z) and the resulting upper bound on γ,
using the transition function stored in
./data/filename
.
x,y,dx,dy
> and
<complement(x),
complement(y),dx,dy
>
is used.
x,y,dx,dy
> and
<complement(x),
complement(y),dx,dy
>
a
, b
,
and the lcs
table.
sortStates
will set this to an array
containing state number i
in
sortedStates[i]
; position 0 in the array is
unused.
sortedStates
to an array in which the
element indexed by i
is state number
i
; the 0th array position is unused.
short
) integers
x,y,dx,dy
representing a state of the automaton
described in Section 3.2.Element
represents a node in a linked list
of states; two links are provided, queueLink
and
hashLink
, so that the node can be used both in
the representation of the BFS queue and in the representation
of a chain in the hash table.s
.
a[aLen-h+1],a[aLen-h+2],...,a[aLen]
.
wmuz
is computed in method lambda by
wmuz[h+i]
= wμ,z(Tc,i),
where wμ,z is as defined in Section 3.1, and μ and
Tc,i are as defined in the overview of the code.
h
bits of the upper input
string.
h
bits of the lower input
string.
|
||||||||
PREV NEXT | FRAMES NO FRAMES |