slib.sml.sm.core.measures.graph.pairwise.dag.node_based
Class Sim_pairwise_DAG_node_Tversky_IC
java.lang.Object
slib.sml.sm.core.measures.graph.pairwise.dag.node_based.Sim_pairwise_DAG_node_Tversky_IC
- All Implemented Interfaces:
- Sim_DAG_node_abstract, Sim_Pairwise_DAG, Sim_Pairwise
public class Sim_pairwise_DAG_node_Tversky_IC
- extends Object
- implements Sim_DAG_node_abstract
IC formulation of Tversky Ratio Model
- Author:
- Sebastien Harispe
Method Summary |
boolean |
isSymmetric()
|
double |
sim(double ic_a,
double ic_b,
double ic_mica)
|
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 |
alpha_param_name
public static final String alpha_param_name
- See Also:
- Constant Field Values
beta_param_name
public static final String beta_param_name
- See Also:
- Constant Field Values
Sim_pairwise_DAG_node_Tversky_IC
public Sim_pairwise_DAG_node_Tversky_IC()
Sim_pairwise_DAG_node_Tversky_IC
public Sim_pairwise_DAG_node_Tversky_IC(double alpha,
double beta)
- Create a Tversky measure specifying alpha and beta parameters
- Parameters:
alpha
- beta
-
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(double ic_a,
double ic_b,
double ic_mica)
throws slib.utils.ex.SLIB_Ex_Critic
- Throws:
slib.utils.ex.SLIB_Ex_Critic
isSymmetric
public boolean isSymmetric()
- Specified by:
isSymmetric
in interface Sim_Pairwise
Copyright © 2013. All Rights Reserved.