public class GraphReduction_Transitive extends Object
Constructor and Description |
---|
GraphReduction_Transitive() |
Modifier and Type | Method and Description |
---|---|
static Set<slib.sglib.model.graph.elements.E> |
process(slib.sglib.model.graph.G graph)
Performs a transitive reduction of the underlying taxonomic graph of the
given graph.
|
static Set<slib.sglib.model.graph.elements.E> |
process(slib.sglib.model.graph.G g,
Set<org.openrdf.model.URI> srcs)
Performs a transitive reduction of the given graph considering a set of
vertices corresponding to the roots of the graph.
|
public static Set<slib.sglib.model.graph.elements.E> process(slib.sglib.model.graph.G graph) throws slib.utils.ex.SLIB_Ex_Critic
graph
- the graph on which the transitive reduction needs to be
performedslib.utils.ex.SLIB_Ex_Critic
public static Set<slib.sglib.model.graph.elements.E> process(slib.sglib.model.graph.G g, Set<org.openrdf.model.URI> srcs)
g
- srcs
- the vertex considered as rootsCopyright © 2014. All rights reserved.