slib.sglib.algo.graph.extraction.rvf
Class RVF_TAX
java.lang.Object
slib.sglib.algo.graph.extraction.rvf.RVF
slib.sglib.algo.graph.extraction.rvf.RVF_DAG
slib.sglib.algo.graph.extraction.rvf.RVF_TAX
- Direct Known Subclasses:
- AncestorEngine, DescendantEngine
public class RVF_TAX
- extends RVF_DAG
Object of this class can be used to retrieve the vertices reachable from a
particular vertex of an acyclic graph considering taxonomic relationships.
- Author:
- Sebastien Harispe
Fields inherited from class slib.sglib.algo.graph.extraction.rvf.RVF |
g, wc |
Constructor Summary |
RVF_TAX(slib.sglib.model.graph.G g,
slib.sglib.model.graph.utils.Direction dir)
|
Method Summary |
Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> |
getAllRVClass()
Compute for all vertices of the loaded graph, the set of vertices corresponding to classes which can be reach from them. |
Set<org.openrdf.model.URI> |
getRVClass(org.openrdf.model.URI v)
Compute the set of vertices corresponding to classes which can be reach from the given vertex. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RVF_TAX
public RVF_TAX(slib.sglib.model.graph.G g,
slib.sglib.model.graph.utils.Direction dir)
getRVClass
public Set<org.openrdf.model.URI> getRVClass(org.openrdf.model.URI v)
- Compute the set of vertices corresponding to classes which can be reach from the given vertex.
Exclusive process: the focused vertex will NOT be included in the set of
reachable vertices.
- Parameters:
v
- the vertex of interest
- Returns:
- the set of classes which can be reached from the selected vertex
getAllRVClass
public Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> getAllRVClass()
throws slib.utils.ex.SLIB_Ex_Critic
- Compute for all vertices of the loaded graph, the set of vertices corresponding to classes which can be reach from them.
Exclusive process: a vertex will NOT be included in the set of reachable vertices it can reach.
- Returns:
- the map storing, for each vertex, the set of reachable vertices respecting the above constraint.
- Throws:
slib.utils.ex.SLIB_Ex_Critic
Copyright © 2013. All Rights Reserved.