slib.sml.sm.core.metrics.ic.topo
Class ICi_probOccurence
java.lang.Object
slib.sml.sm.core.metrics.ic.topo.ICi_probOccurence
- All Implemented Interfaces:
- ICtopo
public class ICi_probOccurence
- extends Object
- implements ICtopo
ICi_resnik_1995
TODO Add resnik citation
p(c) defined as number of top down fashion path leading to c from the
reachable leaves from c + 1 max_pc = max p(c) for all concepts. IC(c) = -log(
p(c) / max_pc)
IC is normalize considering formula given by Faria and al in order to produce
results [0,1]. Faria D, Pesquita C, Couto FM, Falcão A: Proteinon: A web
tool for protein semantic similarity. 2007.
- Author:
- Sebastien Harispe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ICi_probOccurence
public ICi_probOccurence()
compute
public Map<org.openrdf.model.URI,Double> compute(Map<org.openrdf.model.URI,Integer> allNbDescendants)
throws slib.utils.ex.SLIB_Ex_Critic
- Parameters:
allNbDescendants
-
- Returns:
-
- Throws:
slib.utils.ex.SLIB_Ex_Critic
compute
public Map<org.openrdf.model.URI,Double> compute(IC_Conf_Topo conf,
SM_Engine manager)
throws slib.utils.ex.SLIB_Ex_Critic
- Description copied from interface:
ICtopo
- Compute the topological Information Content for the vertices contained by
the graph associated to the given engine.
- Specified by:
compute
in interface ICtopo
- Parameters:
conf
- the configuration defining the measure among othermanager
- the engine used to manage the computation
- Returns:
- a result stack containing the Information Content for each
vertices of the graph.
- Throws:
slib.utils.ex.SLIB_Ex_Critic
Copyright © 2013. All Rights Reserved.