05‐09‐2015 1
PARALLEL AND DISTRIBUTED ALGORITHMS BY DEBDEEP MUKHOPADHYAY AND ABHISHEK SOMANI
http://cse.iitkgp.ac.in/~debdeep/courses_iitkgp/PAlgo/index.htm
THE EULER TOUR TECHNIQUE: EVALUATION OF TREE FUNCTIONS
2
THE EULER TOUR TECHNIQUE: EVALUATION OF TREE FUNCTIONS 2 1 05 09 - - PDF document
05 09 2015 PARALLEL AND DISTRIBUTED ALGORITHMS BY DEBDEEP MUKHOPADHYAY AND ABHISHEK SOMANI http://cse.iitkgp.ac.in/~debdeep/courses_iitkgp/PAlgo/index.htm THE EULER TOUR TECHNIQUE: EVALUATION OF TREE FUNCTIONS 2 1 05 09
http://cse.iitkgp.ac.in/~debdeep/courses_iitkgp/PAlgo/index.htm
2
3
4
5
6
7
8
9
10
11
12
13
Successor function table The resulting Eulerian Circuit
14
15
16
17
18
19
The successor < v, u(i + 1) mod d > for < ui, v >. This is done by making the list circular. < ui, v >. This is done by keeping a direct pointer from ui in L[v] to v in L[ui].
20
21
22
23
Perform a parallel prefix sum with a weight of one assigned to each arc.
24
25
26
27
28
29 30
31
32
33
34
35
36
37
38
39
40
Rooting a tree:
41