slib.sml.sm.core.measures.graph.framework.dag
Class Sim_Framework_DAG_Set_abstract
java.lang.Object
slib.sml.sm.core.measures.graph.framework.dag.Sim_Framework_DAG_Set_abstract
- All Implemented Interfaces:
- Sim_Pairwise_DAG, Sim_Groupwise, Sim_Groupwise_Direct, Sim_Pairwise
- Direct Known Subclasses:
- Sim_Framework_DAG_Set_Bader_2003, Sim_Framework_DAG_Set_Batet_2010, Sim_Framework_DAG_Set_Braun_Blanquet_1932, Sim_Framework_DAG_Set_Dice_1945, Sim_Framework_DAG_Set_Jaccard_1901, Sim_Framework_DAG_Set_Knappe_2004, Sim_Framework_DAG_Set_Korbel_2002, Sim_Framework_DAG_Set_Maryland_Bridge_2003, Sim_Framework_DAG_Set_Ochiai_1957, Sim_Framework_DAG_Set_Simpson_1960, Sim_Framework_DAG_Set_Sokal_Sneath_1963, Sim_Framework_DAG_Set_Tversky_1977
public abstract class Sim_Framework_DAG_Set_abstract
- extends Object
- implements Sim_Pairwise_DAG, Sim_Groupwise_Direct
Abstract class used to facilitate implementation of set based measures.
- Author:
- Sébastien Harispe
Method Summary |
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. |
abstract 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 |
Sim_Framework_DAG_Set_abstract
public Sim_Framework_DAG_Set_abstract()
sim
public double sim(org.openrdf.model.URI a,
org.openrdf.model.URI b,
SM_Engine c,
SMconf conf)
throws slib.utils.ex.SLIB_Exception
- Description copied from interface:
Sim_Pairwise
- Compute the semantic similarity of the pair of concepts/classes.
- Specified by:
sim
in interface Sim_Pairwise
- Parameters:
a
- the first concept/classb
- the second concept/classc
- the engine used to access information required by the measuresconf
- the configuration to consider
- Returns:
- the similarity between the pair of concept/class.
- Throws:
slib.utils.ex.SLIB_Exception
sim
public double sim(Set<org.openrdf.model.URI> setA,
Set<org.openrdf.model.URI> setB,
SM_Engine c,
SMconf conf)
throws slib.utils.ex.SLIB_Exception
- 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
- Parameters:
setA
- the first set of verticessetB
- the second set of verticesc
- the engine used to access specific information used by the
measuresconf
- the groupwise configuration.
- Returns:
- the semantic similarity of the pair of groups of concepts
- Throws:
slib.utils.ex.SLIB_Exception
sim
public abstract double sim(Set<org.openrdf.model.URI> ancA,
Set<org.openrdf.model.URI> ancB,
SMconf conf)
throws slib.utils.ex.SLIB_Exception
- 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.
- Parameters:
ancA
- the first setancB
- the second setconf
- the configuration to apply to compute the semantic similarity
- Returns:
- the similarity of the two sets.
- Throws:
slib.utils.ex.SLIB_Exception
Copyright © 2013. All Rights Reserved.