|Modifier and Type||Method and Description|
Reset the frontier from the supplied vertices.
The number of vertices in the frontier.
trueif the frontier is known to be empty.
trueiff the frontier is known to be compact (no duplicate vertices).
Note: If the frontier is not compact, then the
optionally elect to eliminate duplicate work when it schedules the
vertices in the frontier.
Note: A non-compact frontier can arise when the
chooses a per-thread approach and then copies the per-thread segments
onto the shared backing array in parallel. This can reduce the time
between rounds, which can speed up the overall execution of the algorithm
void resetFrontier(int minCapacity, boolean sort, Iterator<org.openrdf.model.Value> vertices)
minCapacity- The minimum capacity of the new frontier. (A minimum capacity is specified since many techniques to compact the frontier can only estimate the required capacity.)
trueiff the vertices are not known to be ordered and SHOULD be ordered (some backends do not benefit from ordering the vertices).
vertices- The vertices in the new frontier.
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.