slib.sml.sm.core.measures.graph.pairwise.dag.edge_based.experimental
Class Sim_pairwise_DAG_edge_Slimani_2006
java.lang.Object
slib.sml.sm.core.measures.graph.pairwise.dag.edge_based.Sim_DAG_edge_abstract
slib.sml.sm.core.measures.graph.pairwise.dag.edge_based.experimental.Sim_pairwise_DAG_edge_Slimani_2006
- All Implemented Interfaces:
- Sim_Pairwise_DAG, Sim_Pairwise
public class Sim_pairwise_DAG_edge_Slimani_2006
- extends Sim_DAG_edge_abstract
Slimani T, Boutheina BY, Mellouli K: A New Similarity Measure based on
Edge Counting. In World academy of science, engineering and technology,.
2006:34–38.
- Author:
- Harispe Sébastien
Method Summary |
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,Integer> maxDepths)
|
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sim_pairwise_DAG_edge_Slimani_2006
public Sim_pairwise_DAG_edge_Slimani_2006()
sim
public double sim(org.openrdf.model.URI a,
org.openrdf.model.URI b,
SM_Engine c,
SMconf conf)
throws slib.utils.ex.SLIB_Exception
- Description copied from interface:
Sim_Pairwise
- Compute the semantic similarity of the pair of concepts/classes.
- Parameters:
a
- the first concept/classb
- the second concept/classc
- the engine used to access information required by the measuresconf
- the configuration to consider
- Returns:
- the similarity between the pair of concept/class.
- Throws:
slib.utils.ex.SLIB_Exception
sim
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,Integer> maxDepths)
throws slib.utils.ex.SLIB_Exception
- Parameters:
cA
- cB
- ancestors_A
- ancestors_B
- maxDepths
-
- Returns:
-
- Throws:
slib.utils.ex.SLIB_Exception
isSymmetric
public boolean isSymmetric()
Copyright © 2013. All Rights Reserved.