public class Sim_pairwise_DAG_node_IC_Prop_Tversky_Contrast_Model extends Object implements Sim_DAG_node_abstract
Modifier and Type | Field and Description |
---|---|
protected double |
alpha |
static String |
alpha_param_name |
protected double |
beta |
static String |
beta_param_name |
protected double |
gamma |
static String |
gamma_param_name |
Constructor and Description |
---|
Sim_pairwise_DAG_node_IC_Prop_Tversky_Contrast_Model() |
Sim_pairwise_DAG_node_IC_Prop_Tversky_Contrast_Model(double gamma,
double alpha,
double beta)
Create a Tversky measure specifying gamma, alpha and beta parameters
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSymmetric() |
static double |
sim(double ic_a,
double ic_b,
double ic_mica,
double gamma,
double alpha,
double beta) |
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.
|
public static final String gamma_param_name
public static final String alpha_param_name
public static final String beta_param_name
protected double gamma
protected double alpha
protected double beta
public Sim_pairwise_DAG_node_IC_Prop_Tversky_Contrast_Model()
public Sim_pairwise_DAG_node_IC_Prop_Tversky_Contrast_Model(double gamma, double alpha, double beta)
gamma
- importance of commonalityalpha
- importance of part of A not in Bbeta
- importance of part of B not in Apublic double sim(org.openrdf.model.URI a, org.openrdf.model.URI b, SM_Engine c, SMconf conf) throws slib.utils.ex.SLIB_Exception
Sim_Pairwise
sim
in interface Sim_Pairwise
a
- the first concept/classb
- the second concept/classc
- the engine used to access information required by the measuresconf
- the configuration to considerslib.utils.ex.SLIB_Exception
public static double sim(double ic_a, double ic_b, double ic_mica, double gamma, double alpha, double beta) throws slib.utils.ex.SLIB_Ex_Critic
slib.utils.ex.SLIB_Ex_Critic
public boolean isSymmetric()
isSymmetric
in interface Sim_Pairwise
Copyright © 2014. All rights reserved.