|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectslib.sglib.algo.graph.extraction.rvf.RVF
public class RVF
Reachable Vertex Finder (RVF) objects can be used to retrieve the vertices reachable from a particular vertex of a graph considering particular constraints e.g. type of relationships (i.e. set of predicate URI) particular vertex restriction applied to the walk.
Field Summary | |
---|---|
protected slib.sglib.model.graph.G |
g
|
protected slib.sglib.model.graph.utils.WalkConstraint |
wc
|
Constructor Summary | |
---|---|
RVF(slib.sglib.model.graph.G g,
slib.sglib.model.graph.utils.WalkConstraint wc)
Reachable vertex Finder |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected slib.sglib.model.graph.utils.WalkConstraint wc
protected slib.sglib.model.graph.G g
Constructor Detail |
---|
public RVF(slib.sglib.model.graph.G g, slib.sglib.model.graph.utils.WalkConstraint wc)
g
- wc
- Method Detail |
---|
public Set<org.openrdf.model.URI> getRV(org.openrdf.model.URI v)
v
- the focus vertex
public 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |