Constructor and Description |
---|
RVF_DAG(G g,
WalkConstraint wc)
Create a basic RVF object considering an acyclic graph and a only one
type of relationships to consider during the traversal.
|
Modifier and Type | Method and Description |
---|---|
Map<org.openrdf.model.URI,Integer> |
computeNbPathLeadingToAllVertices() |
Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> |
getAllRV()
Compute the set of reachable vertices for each vertices contained in the
graph according to the specified constraint associated to the instance in
use.
|
Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> |
getTerminalVertices()
Return the set of terminal vertices (leaves) reachable.
|
Map<org.openrdf.model.URI,Integer> |
propagateNbOccurences(Map<org.openrdf.model.URI,Integer> nbOccurrence)
Method used to compute the number of occurrences associated to each
vertex after the propagation of the given number of occurences.
|
getRV, getRV, getRVnb, getWalkConstraint, setWalkConstraint
public RVF_DAG(G g, WalkConstraint wc)
g
- the Semantic Graph to considerwc
- the walk constraint defining the way to reach the vertices
which must be returned by the objectpublic Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> getAllRV() throws SLIB_Ex_Critic
SLIB_Ex_Critic
public Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> getTerminalVertices()
public Map<org.openrdf.model.URI,Integer> computeNbPathLeadingToAllVertices() throws SLIB_Ex_Critic
SLIB_Ex_Critic
public Map<org.openrdf.model.URI,Integer> propagateNbOccurences(Map<org.openrdf.model.URI,Integer> nbOccurrence) throws SLIB_Ex_Critic
nbOccurrence
- ResultStack of type Double representing the number of
occurrences of each verticesSLIB_Ex_Critic
Copyright © 2014. All rights reserved.