public class Sim_pairwise_DAG_edge_Pekar_Staab_2002 extends Sim_DAG_edge_abstract
Constructor and Description |
---|
Sim_pairwise_DAG_edge_Pekar_Staab_2002() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSymmetric() |
double |
sim(double sp_mrca_root,
double sp_a_mrca,
double sp_b_mrca)
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_edge_Pekar_Staab_2002()
public double sim(org.openrdf.model.URI a, org.openrdf.model.URI b, SM_Engine c, SMconf conf) throws slib.utils.ex.SLIB_Ex_Critic
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_Ex_Critic
public double sim(double sp_mrca_root, double sp_a_mrca, double sp_b_mrca)
sp_mrca_root
- shortest path from the MRCA to the rootsp_a_mrca
- shortest path from the A to the MRCAsp_b_mrca
- shortest path from the B to the MRCApublic boolean isSymmetric()
Copyright © 2014. All rights reserved.