public class AncestorEngine extends RVF_TAX
Constructor and Description |
---|
AncestorEngine(G g)
Build an ancestor engine associated to the given graph.
|
Modifier and Type | Method and Description |
---|---|
Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> |
getAllAncestorsExc()
Compute the set of exclusive ancestors of all vertices contained in the
graph.
|
Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> |
getAllAncestorsInc()
Compute the set of inclusive ancestors of all vertices contained in the
graph.
|
Set<org.openrdf.model.URI> |
getAncestorsExc(org.openrdf.model.URI v)
Compute the set of exclusive ancestors of a class.
|
Set<org.openrdf.model.URI> |
getAncestorsInc(org.openrdf.model.URI v)
Compute the set of inclusive ancestors of a class.
|
getAllRVClass, getRVClass
computeNbPathLeadingToAllVertices, getAllRV, getTerminalVertices, propagateNbOccurences
getRV, getRV, getRVnb, getWalkConstraint, setWalkConstraint
public AncestorEngine(G g)
g
- the graph on which the engine must workpublic Set<org.openrdf.model.URI> getAncestorsExc(org.openrdf.model.URI v)
v
- the vertex of interestpublic Set<org.openrdf.model.URI> getAncestorsInc(org.openrdf.model.URI v)
v
- the vertex of interestpublic Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> getAllAncestorsExc() throws SLIB_Ex_Critic
SLIB_Ex_Critic
public Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> getAllAncestorsInc() throws SLIB_Ex_Critic
SLIB_Ex_Critic
Copyright © 2014. All rights reserved.