slib.sml.sm.core.measures.graph.pairwise.dag.edge_based
Class Sim_pairwise_DAG_edge_Rada_LCA_1989

java.lang.Object
  extended by slib.sml.sm.core.measures.graph.pairwise.dag.edge_based.Sim_DAG_edge_abstract
      extended by slib.sml.sm.core.measures.graph.pairwise.dag.edge_based.Sim_pairwise_DAG_edge_Rada_LCA_1989
All Implemented Interfaces:
Sim_Pairwise_DAG, Sim_Pairwise

public class Sim_pairwise_DAG_edge_Rada_LCA_1989
extends Sim_DAG_edge_abstract

Rada R, Mili H, Bicknell E, Blettner M: Development and application of a metric on semantic nets. Ieee Transactions On Systems Man And Cybernetics 1989, 19:17-30. sim(c1 , c2 ) = minedge (c1 , msa(c1,c2) ) + minedge (c2 , msa(c1,c2) )


Constructor Summary
Sim_pairwise_DAG_edge_Rada_LCA_1989()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sim_pairwise_DAG_edge_Rada_LCA_1989

public Sim_pairwise_DAG_edge_Rada_LCA_1989()
Method Detail

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/class
b - the second concept/class
c - the engine used to access information required by the measures
conf - the configuration to consider
Returns:
the similarity between the pair of concept/class.
Throws:
slib.utils.ex.SLIB_Exception

sim

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
Compute RADA based semantic similarity.

Parameters:
minDists_cA - shortest path from A
minDists_cB - shortest path from A
ancestors_A - ancestors of A
ancestors_B - ancestors of B
maxDepths - the maximal depths of all concepts
Returns:
the semantic similarity considering the parameters.
Throws:
slib.utils.ex.SLIB_Exception

isSymmetric

public boolean isSymmetric()


Copyright © 2013. All Rights Reserved.