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
5ce685aa
Commit
5ce685aa
authored
3 years ago
by
Ondřej Mička
Browse files
Options
Downloads
Patches
Plain Diff
Dynamization: typos
parent
e62e5242
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vk-dynamic/dynamic.tex
+4
-4
4 additions, 4 deletions
vk-dynamic/dynamic.tex
with
4 additions
and
4 deletions
vk-dynamic/dynamic.tex
+
4
−
4
View file @
5ce685aa
...
@@ -196,7 +196,7 @@ such that $\forall A, B \subseteq U_X$, $A \cap B = \emptyset$ and $\forall q
...
@@ -196,7 +196,7 @@ such that $\forall A, B \subseteq U_X$, $A \cap B = \emptyset$ and $\forall q
\list
{
o
}
\list
{
o
}
\:
Let
$
X
\subseteq
{
\cal
U
}$
. Is
$
q
\in
X
$
? This is a classic search problem
\:
Let
$
X
\subseteq
{
\cal
U
}$
. Is
$
q
\in
X
$
? This is a classic search problem
where universes
$
U
_
Q, U
_
R
$
are both set
${
\cal
U
}$
and possible replies are
where universes
$
U
_
Q, U
_
X
$
are both set
${
\cal
U
}$
and possible replies are
$
U
_
R
=
\{\hbox
{
true
}
,
\hbox
{
false
}
\}
$
. This search problem is decomposable, the
$
U
_
R
=
\{\hbox
{
true
}
,
\hbox
{
false
}
\}
$
. This search problem is decomposable, the
operator
$
\sqcup
$
is a simple binary
\alg
{
or
}
.
operator
$
\sqcup
$
is a simple binary
\alg
{
or
}
.
...
@@ -255,8 +255,8 @@ $$ f(q, x) = f(q, B_0) \sqcup f(q, B_1) \sqcup \dots \sqcup f(q, B_i).$$
...
@@ -255,8 +255,8 @@ $$ f(q, x) = f(q, B_0) \sqcup f(q, B_1) \sqcup \dots \sqcup f(q, B_i).$$
\lemma
{$
Q
_
D
(
n
)
\in
\O
(
Q
_
s
(
n
)
\cdot
\log
n
)
$
.
}
\lemma
{$
Q
_
D
(
n
)
\in
\O
(
Q
_
s
(
n
)
\cdot
\log
n
)
$
.
}
\proof
\proof
Let
$
|X|
=
n
$
. Then the block structure is determined and
$
\sqc
a
p
$
takes
Let
$
|X|
=
n
$
. Then the block structure is determined and
$
\sqc
u
p
$
takes
constant time,
$
Q
_
D
(
n
)
=
\sum
_{
i: B
_
i
\neq
\emptyset
}
Q
_
S
(
2
^
i
)
+
\O
(
1
)
$
. Since
$
Q
_
S
(
x
)
constant time,
$
Q
_
D
(
n
)
=
\sum
_{
i: B
_
i
\neq
\emptyset
}
\left
(
Q
_
S
(
2
^
i
)
+
\O
(
1
)
\right
)
$
. Since
$
Q
_
S
(
x
)
\leq
Q
_
S
(
n
)
$
for all
$
x
\leq
n
$
, the inequality holds.
\leq
Q
_
S
(
n
)
$
for all
$
x
\leq
n
$
, the inequality holds.
\qed
\qed
...
@@ -338,7 +338,7 @@ even in the worst case.
...
@@ -338,7 +338,7 @@ even in the worst case.
Our construction can be deamortized for the price that the resulting
Our construction can be deamortized for the price that the resulting
semidynamic data structure will be more complicated. We do this by not
semidynamic data structure will be more complicated. We do this by not
constructing the block at once, but decomposing the construction such that on
constructing the block at once, but decomposing the construction such that on
each operation we do a small amount of work on it until eventually the whole
each operation we do
does
a small amount of work on it until eventually the whole
block is constructed.
block is constructed.
However, insertion is not the only operation, we can also ask queries even
However, insertion is not the only operation, we can also ask queries even
...
...
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