public interface IPredecessor<VS,ES,ST>
IGASProgram
s that compute paths and track a
predecessor relationship among the visited vertices. This interface can be
used to eliminate vertices from the visited set that are not on a path to a
set of specified target vertices.Modifier and Type | Method and Description |
---|---|
void |
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 prunePaths(IGASContext<VS,ES,ST> ctx, org.openrdf.model.Value[] targetVertices)
ctx
- The IGASContext
.targetVertices
- An array of zero or more target vertices.IllegalArgumentException
- if either argument is null
.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.