public class Sim_pairwise_DAG_edge_Wu_Palmer_1994 extends Sim_DAG_edge_abstract
Constructor and Description |
---|
Sim_pairwise_DAG_edge_Wu_Palmer_1994() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSymmetric() |
double |
sim(org.openrdf.model.URI cA,
org.openrdf.model.URI cB,
Set<org.openrdf.model.URI> ancestors_A,
Set<org.openrdf.model.URI> ancestors_B,
Map<org.openrdf.model.URI,Double> distMin_a,
Map<org.openrdf.model.URI,Double> distMin_b,
Map<org.openrdf.model.URI,Integer> maxDepths)
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_Wu_Palmer_1994()
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(org.openrdf.model.URI cA, org.openrdf.model.URI cB, Set<org.openrdf.model.URI> ancestors_A, Set<org.openrdf.model.URI> ancestors_B, Map<org.openrdf.model.URI,Double> distMin_a, Map<org.openrdf.model.URI,Double> distMin_b, Map<org.openrdf.model.URI,Integer> maxDepths) throws slib.utils.ex.SLIB_Exception
cA
- concept AcB
- concept Bancestors_A
- inclusive ancestors of Aancestors_B
- inclusive ancestors of BdistMin_a
- shortest path from AdistMin_b
- shortest path from BmaxDepths
- maximal depth of all conceptsslib.utils.ex.SLIB_Exception
public boolean isSymmetric()
Copyright © 2014. All rights reserved.