slib.sml.sm.core.metrics.ic.topo
Class ICi_resnik_unpropagatted_1995

java.lang.Object
  extended by slib.sml.sm.core.metrics.utils.LogBasedMetric
      extended by slib.sml.sm.core.metrics.ic.topo.ICi_resnik_unpropagatted_1995
All Implemented Interfaces:
ICtopo, LogBasedMetricInterface

public class ICi_resnik_unpropagatted_1995
extends LogBasedMetric
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

Constructor Summary
ICi_resnik_unpropagatted_1995()
           
 
Method Summary
 Map<org.openrdf.model.URI,Double> compute(IC_Conf_Topo conf, SM_Engine manager)
          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,Integer> nbDescendants)
           
 
Methods inherited from class slib.sml.sm.core.metrics.utils.LogBasedMetric
getLogBase, setLogBase, setLogBase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ICi_resnik_unpropagatted_1995

public ICi_resnik_unpropagatted_1995()
Method Detail

compute

public Map<org.openrdf.model.URI,Double> compute(Map<org.openrdf.model.URI,Integer> nbDescendants)
                                          throws slib.utils.ex.SLIB_Ex_Critic
Parameters:
nbDescendants -
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 other
manager - 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.