public class GraphReduction_DAG_Ranwez_2011 extends Object
| Constructor and Description |
|---|
GraphReduction_DAG_Ranwez_2011(G graph) |
GraphReduction_DAG_Ranwez_2011(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(G graph) throws SLIB_Exception
SLIB_Exceptionpublic GraphReduction_DAG_Ranwez_2011(G graph, Set<org.openrdf.model.URI> predicatesTC, Set<org.openrdf.model.URI> predicateToAdd, boolean validateDAGproperty) throws 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_Exceptionpublic void exec(Set<org.openrdf.model.URI> selectedURIs, G g_reduction) throws SLIB_Ex_Critic, SLIB_Ex_Warning
selectedURIs - g_reduction - SLIB_Ex_CriticSLIB_Ex_WarningCopyright © 2014. All rights reserved.