Package | Description |
---|---|
com.bigdata.rdf.graph |
The GAS (Gather Apply Scatter) API was developed for PowerGraph
(aka GraphLab 2.1).
|
com.bigdata.rdf.graph.analytics |
This package provides implementations of various graph analytics using the
GAS API.
|
com.bigdata.rdf.graph.impl |
This is an implementation of the GAS API for the bigdata platform.
|
com.bigdata.rdf.graph.impl.bd | |
com.bigdata.rdf.graph.impl.ram |
This is an implementation of the GAS API for the Java concurrency
class.
|
com.bigdata.rdf.graph.impl.sail |
This is an implementation of the GAS API for the openrdf SAIL.
|
Modifier and Type | Method and Description |
---|---|
<VS,ES,ST> IGASContext<VS,ES,ST> |
IGASEngine.newGASContext(IGraphAccessor graphAccessor,
IGASProgram<VS,ES,ST> program)
Obtain an execution context for the specified
IGASProgram . |
Modifier and Type | Method and Description |
---|---|
void |
IGASProgram.before(IGASContext<VS,ES,ST> ctx)
One time initialization before the
IGASProgram is executed. |
long |
IGraphAccessor.getEdgeCount(IGASContext<?,?,?> ctx,
org.openrdf.model.Value u,
EdgesEnum edges)
Return the #of edges of the specified type for the given vertex.
|
Iterator<org.openrdf.model.Statement> |
IGraphAccessor.getEdges(IGASContext<?,?,?> ctx,
org.openrdf.model.Value u,
EdgesEnum edges)
Return the edges for the given vertex.
|
void |
IGASProgram.initVertex(IGASContext<VS,ES,ST> ctx,
IGASState<VS,ES,ST> state,
org.openrdf.model.Value u)
Callback to initialize the state for each vertex in the initial frontier
before the first iteration.
|
boolean |
IGASProgram.nextRound(IGASContext<VS,ES,ST> ctx)
Return
true iff the algorithm should continue. |
void |
IPredecessor.prunePaths(IGASContext<VS,ES,ST> ctx,
org.openrdf.model.Value[] targetVertices)
Remove any vertices from the visited set that do not line on path that
leads to at least one of the target vertices.
|
void |
IGASState.setFrontier(IGASContext<VS,ES,ST> ctx,
org.openrdf.model.Value... v)
IGASState.reset() the computation state and populate the initial frontier. |
Modifier and Type | Method and Description |
---|---|
void |
BFS.initVertex(IGASContext<BFS.VS,BFS.ES,Void> ctx,
IGASState<BFS.VS,BFS.ES,Void> state,
org.openrdf.model.Value u)
Not used.
|
void |
PR.initVertex(IGASContext<PR.VS,PR.ES,Double> ctx,
IGASState<PR.VS,PR.ES,Double> state,
org.openrdf.model.Value u)
Callback to initialize the state for each vertex in the initial frontier
before the first iteration.
|
void |
SSSP.initVertex(IGASContext<SSSP.VS,SSSP.ES,Integer> ctx,
IGASState<SSSP.VS,SSSP.ES,Integer> state,
org.openrdf.model.Value u)
Set the
SSSP.VS.dist() to ZERO (0). |
boolean |
BFS.nextRound(IGASContext<BFS.VS,BFS.ES,Void> ctx) |
boolean |
PR.nextRound(IGASContext<PR.VS,PR.ES,Double> ctx)
Return
true iff the algorithm should continue. |
boolean |
SSSP.nextRound(IGASContext<SSSP.VS,SSSP.ES,Integer> ctx) |
void |
BFS.prunePaths(IGASContext<BFS.VS,BFS.ES,Void> ctx,
org.openrdf.model.Value[] targetVertices) |
void |
SSSP.prunePaths(IGASContext<SSSP.VS,SSSP.ES,Integer> ctx,
org.openrdf.model.Value[] targetVertices) |
Modifier and Type | Class and Description |
---|---|
class |
GASContext<VS,ES,ST> |
Modifier and Type | Method and Description |
---|---|
<VS,ES,ST> IGASContext<VS,ES,ST> |
GASEngine.newGASContext(IGraphAccessor graphAccessor,
IGASProgram<VS,ES,ST> gasProgram) |
Modifier and Type | Method and Description |
---|---|
void |
BaseGASProgram.before(IGASContext<VS,ES,ST> ctx)
One time initialization before the
IGASProgram is executed. |
protected IFilter |
GASContext.getLinkAttribFilter(IGASContext<VS,ES,ST> ctx,
org.openrdf.model.URI linkAttribType)
Return a filter that only visits the edges of graph that are instances of
the specified link attribute type.
|
void |
BaseGASProgram.initVertex(IGASContext<VS,ES,ST> ctx,
IGASState<VS,ES,ST> state,
org.openrdf.model.Value u)
Callback to initialize the state for each vertex in the initial frontier
before the first iteration.
|
boolean |
BaseGASProgram.nextRound(IGASContext<VS,ES,ST> ctx)
Return
true iff the algorithm should continue. |
void |
GASState.setFrontier(IGASContext<VS,ES,ST> ctx,
org.openrdf.model.Value... vertices) |
Constructor and Description |
---|
EdgeOnlyFilter(IGASContext<VS,ES,ST> ctx) |
Modifier and Type | Method and Description |
---|---|
long |
BigdataGASEngine.BigdataGraphAccessor.getEdgeCount(IGASContext<?,?,?> ctx,
org.openrdf.model.Value u,
EdgesEnum edges) |
Iterator<org.openrdf.model.Statement> |
BigdataGASEngine.BigdataGraphAccessor.getEdges(IGASContext<?,?,?> ctx,
org.openrdf.model.Value u,
EdgesEnum edges) |
void |
PATHS.initVertex(IGASContext<PATHS.VS,PATHS.ES,Void> ctx,
IGASState<PATHS.VS,PATHS.ES,Void> state,
org.openrdf.model.Value u)
Not used.
|
boolean |
PATHS.nextRound(IGASContext<PATHS.VS,PATHS.ES,Void> ctx) |
void |
PATHS.prunePaths(IGASContext<PATHS.VS,PATHS.ES,Void> ctx,
org.openrdf.model.Value[] targetVertices) |
Modifier and Type | Method and Description |
---|---|
long |
RAMGASEngine.RAMGraphAccessor.getEdgeCount(IGASContext<?,?,?> ctx,
org.openrdf.model.Value u,
EdgesEnum edges) |
Iterator<org.openrdf.model.Statement> |
RAMGASEngine.RAMGraphAccessor.getEdges(IGASContext<?,?,?> ctx,
org.openrdf.model.Value u,
EdgesEnum edges) |
Modifier and Type | Method and Description |
---|---|
long |
SAILGASEngine.SAILGraphAccessor.getEdgeCount(IGASContext<?,?,?> ctx,
org.openrdf.model.Value u,
EdgesEnum edges) |
Iterator<org.openrdf.model.Statement> |
SAILGASEngine.SAILGraphAccessor.getEdges(IGASContext<?,?,?> p,
org.openrdf.model.Value u,
EdgesEnum edges) |
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.