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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
datovky
ds2-notes
Commits
adabac6b
Commit
adabac6b
authored
3 years ago
by
Filip Stedronsky
Browse files
Options
Downloads
Patches
Plain Diff
Succinct: use new formalism in definitions
parent
66e3e642
Loading
Loading
Loading
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
fs-succinct/succinct.tex
+3
-3
3 additions, 3 deletions
fs-succinct/succinct.tex
with
3 additions
and
3 deletions
fs-succinct/succinct.tex
+
3
−
3
View file @
adabac6b
...
...
@@ -24,13 +24,13 @@ The information-theoretical optimum is $OPT(n) := \lceil\log |X(n)|\rceil$
Now we can define three classes of data structures based on their fine-grained space
efficiency:
\defn
{
An
{
\I
implicit data structure
}
is one
that uses at most
$
OPT
(
n
)
+
\O
(
1
)
$
bits of space
.
}
\defn
{
An
{
\I
implicit data structure
}
is one
with
$
s
(
n
)
\le
OPT
(
n
)
+
\O
(
1
)
$
.
}
A typical implicit data structure contains just its elements in some order and nothing more.
Examples include sorted arrays and heaps.
\defn
{
A
{
\I
succinct data structure
}
is one
that uses at most
$
OPT
(
n
)
+
{
\rm
o
}
(
OPT
(
n
))
$
bits of space
.
}
\defn
{
A
{
\I
compact data structure
}
is one
that uses at most
$
\O
(
OPT
(
n
))
$
bits of space
.
}
\defn
{
A
{
\I
succinct data structure
}
is one
with
$
s
(
n
)
\le
OPT
(
n
)
+
{
\rm
o
}
(
OPT
(
n
))
$
.
}
\defn
{
A
{
\I
compact data structure
}
is one
with
$
s
(
n
)
\le
\O
(
OPT
(
n
))
$
.
}
Note that some linear-space data structures are not even compact -- because we
are counting bits now, not words. For example, a linked list representing a
...
...
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