public class Sim_pairwise_DAG_edge_Rada_LCA_1989 extends Sim_DAG_edge_abstract
Constructor and Description |
---|
Sim_pairwise_DAG_edge_Rada_LCA_1989() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSymmetric() |
double |
sim(Map<org.openrdf.model.URI,Double> minDists_cA,
Map<org.openrdf.model.URI,Double> minDists_cB,
Set<org.openrdf.model.URI> ancestors_A,
Set<org.openrdf.model.URI> ancestors_B,
Map<org.openrdf.model.URI,Integer> maxDepths)
Compute RADA based semantic similarity.
|
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 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
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(Map<org.openrdf.model.URI,Double> minDists_cA, Map<org.openrdf.model.URI,Double> minDists_cB, Set<org.openrdf.model.URI> ancestors_A, Set<org.openrdf.model.URI> ancestors_B, Map<org.openrdf.model.URI,Integer> maxDepths) throws slib.utils.ex.SLIB_Exception
minDists_cA
- shortest path from AminDists_cB
- shortest path from Aancestors_A
- ancestors of Aancestors_B
- ancestors of BmaxDepths
- the maximal depths of all conceptsslib.utils.ex.SLIB_Exception
public boolean isSymmetric()
Copyright © 2014. All rights reserved.