Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
ds2-notes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
datovky
ds2-notes
Commits
c52f9aac
Commit
c52f9aac
authored
3 years ago
by
Filip Stedronsky
Browse files
Options
Downloads
Patches
Plain Diff
Succinct: SOLE: fixes
parent
8bfbbb16
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
fs-succinct/succinct.tex
+15
-5
15 additions, 5 deletions
fs-succinct/succinct.tex
with
15 additions
and
5 deletions
fs-succinct/succinct.tex
+
15
−
5
View file @
c52f9aac
...
@@ -172,17 +172,27 @@ increases throughout the encoding passes:
...
@@ -172,17 +172,27 @@ increases throughout the encoding passes:
\tightlist
{
o
}
\tightlist
{
o
}
\:
If the original length was a multiple of
$
b
$
, we must add one block to complete padding.
\:
If the original length was a multiple of
$
b
$
, we must add one block to complete padding.
\:
We always add one block with EOF character.
\:
We always add one block with EOF character.
\:
Before the first pass, we may need to add an extra padding block to make number of blocks even.
\:
Before the first pass, we may need to add an extra padding block to make number of blocks even
(not shown in fig.
\figref
{
sole
}
).
\:
Before the second pass, we always add an extra padding block to make number of blocks odd.
\:
Before the second pass, we always add an extra padding block to make number of blocks odd.
\endlist
\endlist
In total, we add at most 4 blocks. Thus
$
r
(
n
)
\le
4
b
$
. That is a constant
and thus we have a succinct scheme.
Also not that this representation is locally decodable and modifiable -- each input
In total, we add at most 4 blocks. Thus
$
r
(
n
)
\le
4
b
$
.
For the scheme to work, we need to set
$
b
\ge
2
\log
n
+
2
$
(so
$
B
\ge
4
n
^
2
$
). This gives us redundancy
$
r
(
n
)
=
\O
(
\log
n
)
$
. Thus
we have a succinct scheme. Also, one block fits into
$
\O
(
1
)
$
words
on a RAM, so we can do constant-time arithmetic on the blocks.
Note that this representation is locally decodable and modifiable -- each input
block affects at most 4 output blocks.
block affects at most 4 output blocks.
Now we need to check that all the alphabet translations are valid.
Now we must check that all the alphabet transformations are valid, i.e., the
output universe of each transformation is always at least as big as the input
universe.
\section
{
Succinct representation of arbitrary-alphabet strings
}
\section
{
Succinct representation of arbitrary-alphabet strings
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment