slib.sml.sm.core.measures.others.pairwise
Class Sim_pairwise_Random

java.lang.Object
  extended by slib.sml.sm.core.measures.others.pairwise.Sim_pairwise_Random
All Implemented Interfaces:
Sim_Pairwise

public class Sim_pairwise_Random
extends Object
implements Sim_Pairwise

Random measure for tests

Author:
Harispe Sébastien

Constructor Summary
Sim_pairwise_Random()
           
 
Method Summary
 boolean isSymmetric()
           
 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_Random

public Sim_pairwise_Random()
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.

Specified by:
sim in interface Sim_Pairwise
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

isSymmetric

public boolean isSymmetric()
Specified by:
isSymmetric in interface Sim_Pairwise


Copyright © 2013. All Rights Reserved.