slib.sml.sm.core.measures.graph.framework.dag
Class Sim_Framework_DAG_Set_Batet_2010

java.lang.Object
  extended by slib.sml.sm.core.measures.graph.framework.dag.Sim_Framework_DAG_Set_abstract
      extended by slib.sml.sm.core.measures.graph.framework.dag.Sim_Framework_DAG_Set_Batet_2010
All Implemented Interfaces:
Sim_Pairwise_DAG, Sim_Groupwise, Sim_Groupwise_Direct, Sim_Pairwise

public class Sim_Framework_DAG_Set_Batet_2010
extends Sim_Framework_DAG_Set_abstract

Batet M, Sanchez D, Valls A: An ontology-based measure to compute semantic similarity in biomedicine. Journal of biomedical informatics 2010, 44:118-125. IC is normalize considering spirit formulated in 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
Sim_Framework_DAG_Set_Batet_2010()
           
 
Method Summary
 boolean isSymmetric()
           
 double sim(int nbVertices, Set<org.openrdf.model.URI> a, Set<org.openrdf.model.URI> b)
          Normalized version
 double sim(Set<org.openrdf.model.URI> setA, Set<org.openrdf.model.URI> setB, SM_Engine c, SMconf conf)
          Compute the similarity between the given sets of concepts considering a particular configuration.
 double sim(Set<org.openrdf.model.URI> ancA, Set<org.openrdf.model.URI> ancB, SMconf conf)
          This provide a way to compare the two sets of concepts which have been extended considering inference based on the taxonomic hierarchy.
 double sim(org.openrdf.model.URI a, org.openrdf.model.URI b, SM_Engine c, SMconf conf)
          Compute the semantic similarity of the pair of concepts/classes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sim_Framework_DAG_Set_Batet_2010

public Sim_Framework_DAG_Set_Batet_2010()
Method Detail

sim

public double sim(org.openrdf.model.URI a,
                  org.openrdf.model.URI b,
                  SM_Engine c,
                  SMconf conf)
Description copied from interface: Sim_Pairwise
Compute the semantic similarity of the pair of concepts/classes.

Specified by:
sim in interface Sim_Pairwise
Overrides:
sim in class Sim_Framework_DAG_Set_abstract
Parameters:
a - the first concept/class
b - the second concept/class
c - the engine used to access information required by the measures
conf - the configuration to consider
Returns:
the similarity between the pair of concept/class.

sim

public double sim(Set<org.openrdf.model.URI> setA,
                  Set<org.openrdf.model.URI> setB,
                  SM_Engine c,
                  SMconf conf)
Description copied from interface: Sim_Groupwise_Direct
Compute the similarity between the given sets of concepts considering a particular configuration.

Specified by:
sim in interface Sim_Groupwise_Direct
Overrides:
sim in class Sim_Framework_DAG_Set_abstract
Parameters:
setA - the first set of vertices
setB - the second set of vertices
c - the engine used to access specific information used by the measures
conf - the groupwise configuration.
Returns:
the semantic similarity of the pair of groups of concepts

sim

public double sim(Set<org.openrdf.model.URI> ancA,
                  Set<org.openrdf.model.URI> ancB,
                  SMconf conf)
Description copied from class: Sim_Framework_DAG_Set_abstract
This provide a way to compare the two sets of concepts which have been extended considering inference based on the taxonomic hierarchy. In other words, each vertex of the set already contains all its ancestors in the set.

Specified by:
sim in class Sim_Framework_DAG_Set_abstract
Parameters:
ancA - the first set
ancB - the second set
conf - the configuration to apply to compute the semantic similarity
Returns:
the similarity of the two sets.

sim

public double sim(int nbVertices,
                  Set<org.openrdf.model.URI> a,
                  Set<org.openrdf.model.URI> b)
Normalized version

Parameters:
nbVertices -
a -
b -
Returns:

isSymmetric

public boolean isSymmetric()


Copyright © 2013. All Rights Reserved.