public class RVF extends Object
Modifier and Type | Field and Description |
---|---|
protected G |
g |
protected WalkConstraint |
wc |
Constructor and Description |
---|
RVF(G g,
WalkConstraint wc)
Reachable vertex Finder
|
Modifier and Type | Method and Description |
---|---|
Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> |
getRV(Set<org.openrdf.model.URI> queryVertices)
Compute the set of reachable vertices for each vertices composing the
graph associated to the object considering the edge types loaded.
|
Set<org.openrdf.model.URI> |
getRV(org.openrdf.model.URI v)
Retrieve the set of reachable vertices RV from a specified vertex taking
into account the type of relationships associated to the current
instance.
|
Map<org.openrdf.model.URI,Integer> |
getRVnb(Set<org.openrdf.model.URI> queryVertices)
Return the number of vertices reachable from all vertices composing the
graph associated to the instance.
|
WalkConstraint |
getWalkConstraint() |
void |
setWalkConstraint(WalkConstraint nwc) |
protected WalkConstraint wc
protected G g
public RVF(G g, WalkConstraint wc)
g
- wc
- public Set<org.openrdf.model.URI> getRV(org.openrdf.model.URI v)
v
- the focus vertexpublic Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> getRV(Set<org.openrdf.model.URI> queryVertices)
queryVertices
- public Map<org.openrdf.model.URI,Integer> getRVnb(Set<org.openrdf.model.URI> queryVertices)
queryVertices
- public WalkConstraint getWalkConstraint()
public void setWalkConstraint(WalkConstraint nwc)
Copyright © 2014. All rights reserved.