public class Sim_pairwise_DAG_node_Jiang_Conrath_1997 extends Object implements Sim_DAG_node_abstract
Constructor and Description |
---|
Sim_pairwise_DAG_node_Jiang_Conrath_1997() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSymmetric() |
double |
sim(double ic_a,
double ic_b,
double ic_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_Jiang_Conrath_1997()
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)
ic_a
- the IC of the vertex Aic_b
- the IC of the vertex Bic_MICA
- the IC of the Most Informative Ancestor of the concept A and Bpublic boolean isSymmetric()
isSymmetric
in interface Sim_Pairwise
Copyright © 2014. All rights reserved.