public class Sim_pairwise_DAG_node_Feature_Tversky_Contrast_Model extends Sim_pairwise_DAG_node_IC_Tversky_Contrast_Model
alpha, alpha_param_name, beta, beta_param_name, gamma, gamma_param_name
Constructor and Description |
---|
Sim_pairwise_DAG_node_Feature_Tversky_Contrast_Model() |
Sim_pairwise_DAG_node_Feature_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 |
---|---|
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.
|
isSymmetric, sim
public Sim_pairwise_DAG_node_Feature_Tversky_Contrast_Model()
public Sim_pairwise_DAG_node_Feature_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
sim
in class Sim_pairwise_DAG_node_IC_Tversky_Contrast_Model
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
Copyright © 2014. All rights reserved.