public interface IGASEngine
IGASProgram
for evaluation.Modifier and Type | Method and Description |
---|---|
int |
getNThreads()
The parallelism for the SCATTER and GATHER phases.
|
boolean |
getSortFrontier()
Return
true iff the frontier should be sorted. |
<VS,ES,ST> IGASContext<VS,ES,ST> |
newGASContext(IGraphAccessor graphAccessor,
IGASProgram<VS,ES,ST> program)
Obtain an execution context for the specified
IGASProgram . |
void |
shutdown()
Polite shutdown.
|
void |
shutdownNow()
Immediate shutdown.
|
<VS,ES,ST> IGASContext<VS,ES,ST> newGASContext(IGraphAccessor graphAccessor, IGASProgram<VS,ES,ST> program)
IGASProgram
.VS
- The generic type for the per-vertex state. This is scoped to
the computation of the IGASProgram
.ES
- The generic type for the per-edge state. This is scoped to the
computation of the IGASProgram
.ST
- The generic type for the SUM. This is often directly related
to the generic type for the per-edge state, but that is not
always true. The SUM type is scoped to the GATHER + SUM
operation (NOT the computation).graphAccessor
- Indicates the graph to be processed.program
- The program to execute against that graph.boolean getSortFrontier()
true
iff the frontier should be sorted. Backends that
benefit from an ordered frontier (e.g., to vector IOs) should return
true
. Backends that do not benefit from an ordered frontier
(e.g., a backend based on hash collections in memory) should return
false
.void shutdown()
void shutdownNow()
int getNThreads()
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.