public class TLScheduler2 extends Object implements IGASSchedulerImpl
LinkedHashSet) to track the
distinct vertices scheduled by each execution thread. After the computation
round, those per-thread segments of the frontier are combined into a single
global, compact, and ordered frontier. To maximize the parallel activity, the
per-thread frontiers are sorted using N threads (one per segment). Finally,
the frontier segments are combined using a MergeSortIterator - this
is a sequential step with a linear cost in the size of the frontier.| Constructor and Description |
|---|
TLScheduler2(GASEngine gasEngine) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Reset all internal state (and get rid of any thread locals).
|
void |
compactFrontier(IStaticFrontier frontier)
Compact the schedule into the new frontier.
|
void |
schedule(org.openrdf.model.Value v)
Add the vertex to the schedule.
|
public TLScheduler2(GASEngine gasEngine)
public void schedule(org.openrdf.model.Value v)
IGASSchedulerschedule in interface IGASSchedulerv - The vertex.public void clear()
IGASSchedulerImplclear in interface IGASSchedulerImplpublic void compactFrontier(IStaticFrontier frontier)
IGASSchedulerImplcompactFrontier in interface IGASSchedulerImplCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.