Approximate Distance Oracle Flashcards

1
Q

What is the functionality of the approximate distance oracle?

What are its parameters?

Give examples of naive solutions.

A

Given weighted and undirected graph, we want to compute a small data structure that can answer distance questions efficiently and with mul-approximation.

Parameters:

S - size of the data structure

Q - Question time

t - quality of approximation

p - inital computation tim

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Assume we want to compute all pairs initialy.

Assume we don’t want to compute anything initially.

What are the values of S,Q,T,P for each case?

A

S = n^2, Q = 1, T = 1, P = n^3

S = n^2, q = n^2, Q = 1, P = 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Write definitions

and space

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe query(u,v)

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Define C(u) and mention the two observations

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Write the efficient algorithm for finding the path to B(u)

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly