public class Sim_pairwise_DAG_node_Feature_Tversky_Ratio_Model extends Sim_pairwise_DAG_node_IC_Tversky_Ratio_Model
alpha, alpha_param_name, beta, beta_param_name
Constructor and Description |
---|
Sim_pairwise_DAG_node_Feature_Tversky_Ratio_Model() |
Sim_pairwise_DAG_node_Feature_Tversky_Ratio_Model(double alpha,
double beta)
Create a Tversky measure specifying 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_Ratio_Model()
public Sim_pairwise_DAG_node_Feature_Tversky_Ratio_Model(double alpha, double beta)
alpha
- beta
- public 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_Ratio_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.