public class GraphReduction_DAG_Ranwez_2011 extends Object
Constructor and Description |
---|
GraphReduction_DAG_Ranwez_2011(slib.sglib.model.graph.G graph) |
GraphReduction_DAG_Ranwez_2011(slib.sglib.model.graph.G graph,
Set<org.openrdf.model.URI> predicatesTC,
Set<org.openrdf.model.URI> predicateToAdd,
boolean validateDAGproperty)
Method used to perform the subGraph extraction of an acyclic graph based
on top-down and bottom-up transitive closures.
|
public GraphReduction_DAG_Ranwez_2011(slib.sglib.model.graph.G graph) throws slib.utils.ex.SLIB_Exception
slib.utils.ex.SLIB_Exception
public GraphReduction_DAG_Ranwez_2011(slib.sglib.model.graph.G graph, Set<org.openrdf.model.URI> predicatesTC, Set<org.openrdf.model.URI> predicateToAdd, boolean validateDAGproperty) throws slib.utils.ex.SLIB_Exception
graph
- the graphpredicatesTC
- set of predicates to consider as taxonomic predicate
for the transitive closurespredicateToAdd
- defines which predicate relationships must be
considered in the post treatment. if nodes x and y compose the reduction
and x,y are linked by a relationship of type p, p must be specified in
the predicateToAdd set in order to specified that the relationship x,p,y
must be expressed in the reduction.validateDAGproperty
- boolean if true DAG property of the graph
induced by the given parameters is checkedslib.utils.ex.SLIB_Exception
public void exec(Set<org.openrdf.model.URI> selectedURIs, slib.sglib.model.graph.G g_reduction) throws slib.utils.ex.SLIB_Ex_Critic, slib.utils.ex.SLIB_Ex_Warning
selectedURIs
- g_reduction
- slib.utils.ex.SLIB_Ex_Critic
slib.utils.ex.SLIB_Ex_Warning
Copyright © 2014. All rights reserved.