public class RVF extends Object
Modifier and Type | Field and Description |
---|---|
protected slib.sglib.model.graph.G |
g |
protected slib.sglib.model.graph.utils.WalkConstraint |
wc |
Constructor and Description |
---|
RVF(slib.sglib.model.graph.G g,
slib.sglib.model.graph.utils.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.
|
slib.sglib.model.graph.utils.WalkConstraint |
getWalkConstraint() |
void |
setWalkConstraint(slib.sglib.model.graph.utils.WalkConstraint nwc) |
protected slib.sglib.model.graph.utils.WalkConstraint wc
protected slib.sglib.model.graph.G g
public RVF(slib.sglib.model.graph.G g, slib.sglib.model.graph.utils.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 slib.sglib.model.graph.utils.WalkConstraint getWalkConstraint()
public void setWalkConstraint(slib.sglib.model.graph.utils.WalkConstraint nwc)
Copyright © 2014. All rights reserved.