public class ICi_seco_2004 extends LogBasedMetric implements ICtopo
Constructor and Description |
---|
ICi_seco_2004() |
Modifier and Type | Method and Description |
---|---|
Map<org.openrdf.model.URI,Double> |
compute(IC_Conf_Topo conf,
SM_Engine engine)
Compute the topological Information Content for the vertices contained by
the graph associated to the given engine.
|
Map<org.openrdf.model.URI,Double> |
compute(Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> allDescendantsInc)
Compute the Information contents of the vertices specified in the given
stack.
|
double |
computeIC(double nbInclusiveDescendants,
double nbConceptsOnto)
Compute the IC considering the given parameters.
|
getLogBase, setLogBase, setLogBase
public Map<org.openrdf.model.URI,Double> compute(Map<org.openrdf.model.URI,Set<org.openrdf.model.URI>> allDescendantsInc) throws slib.utils.ex.SLIB_Ex_Critic
allDescendantsInc
- a map containing the set of inclusive
descendants for all the vertices contained in the graph. The information
content will be computed for each vertices composing the stack
considering the number of vertices in the graph equaling the number of
vertices in the stack. Note that the number of descendant is considered
to be inclusive i.e. the count of descendants of a concepts x must also
count x.slib.utils.ex.SLIB_Ex_Critic
public Map<org.openrdf.model.URI,Double> compute(IC_Conf_Topo conf, SM_Engine engine) throws slib.utils.ex.SLIB_Ex_Critic
ICtopo
public double computeIC(double nbInclusiveDescendants, double nbConceptsOnto) throws slib.utils.ex.SLIB_Ex_Critic
nbInclusiveDescendants
- the number of inclusive descendants to
consider.nbConceptsOnto
- the number of concepts composing the ontology.slib.utils.ex.SLIB_Ex_Critic
Copyright © 2014. All rights reserved.