public class Sim_pairwise_DAG_node_Schlicker_2006_SimRel extends Object implements Sim_DAG_node_abstract
Constructor and Description |
---|
Sim_pairwise_DAG_node_Schlicker_2006_SimRel() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSymmetric() |
double |
sim(double ic_a,
double ic_b,
double ic_mica,
double p_mica)
Compute the semantic similarity considering the given parameters
|
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 Sim_pairwise_DAG_node_Schlicker_2006_SimRel()
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
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 double sim(double ic_a, double ic_b, double ic_mica, double p_mica) throws slib.utils.ex.SLIB_Ex_Critic
ic_a
- the IC of the concept Aic_b
- the IC of the concept Bic_mica
- the IC of the Most Informative Common Ancestor (MCIA) of A
and Bp_mica
- the probability of occurrence of the MICAslib.utils.ex.SLIB_Ex_Critic
public boolean isSymmetric()
isSymmetric
in interface Sim_Pairwise
Copyright © 2014. All rights reserved.