public class Sim_pairwise_DAG_edge_Kyogoku_basic_2011 extends Sim_DAG_edge_abstract
Constructor and Description |
---|
Sim_pairwise_DAG_edge_Kyogoku_basic_2011() |
Modifier and Type | Method and Description |
---|---|
boolean |
isSymmetric() |
double |
sim(double maxDepth,
double sp_AtoB,
double sp_BtoA)
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_Kyogoku_basic_2011()
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(double maxDepth, double sp_AtoB, double sp_BtoA)
maxDepth
- Max depth the maximal depth of a class/concept in the
graph.sp_AtoB
- Shortest path from A to Bsp_BtoA
- Shortest path from B to Apublic boolean isSymmetric()
Copyright © 2014. All rights reserved.