You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: paper.md
+7-7
Original file line number
Diff line number
Diff line change
@@ -188,16 +188,16 @@ For the one-dimensional case this could be achieved by using a red--black tree t
188
188
So far, the description of the general algorithm did not include parallelism.
189
189
In order to include parallelism we need to allow for points that are "pending", i.e. whose value has been requested but is not yet known.
190
190
In the sequential algorithm subdomains only contain points on their boundaries.
191
-
In the parallel algorithm *pending* points are placed in the interior of subdomains, and the loss of the subdomain is reduced to take these pending points into account.
191
+
In the parallel algorithm *pending* points are placed in the interior of subdomains, and the priority of the subdomains in the queue is reduced to take these pending points into account.
192
192
Later, when a pending point $x$ is finally evaluated, we *split* the subdomain that contains $x$ such that it is on the boundary of new, smaller, subdomains.
193
-
We then calculate the loss of these new subdomains, and insert them into the priority queue, and update the losses of neighboring subdomains if required.
193
+
We then calculate the priority of these new subdomains, and insert them into the priority queue, and update the priority of neighboring subdomains if required.
194
194
195
195
#### We summarize the algorithm with pseudocode
196
196
The parallel version of the algorithm can be summarized by the following pseudocode.
197
197
In the following `queue` is the priority queue of subdomains, `domain` is an object that allows to efficiently query the neighbors of a subdomain and create new subdomains by adding a point $x$, `data` is a hashmap storing the points and their values, `executor` allows to offload evaluation of a function `f` to external computing resources, and `loss` is the loss function, with `loss.n_neighbors` being the degree of neighboring subdomains that the loss function uses.
0 commit comments