slib.sml.sm.core.measures.others.groupwise.direct
Class Sim_groupwise_Random

java.lang.Object
  extended by slib.sml.sm.core.measures.others.groupwise.direct.Sim_groupwise_Random
All Implemented Interfaces:
Sim_Groupwise, Sim_Groupwise_Direct

public class Sim_groupwise_Random
extends Object
implements Sim_Groupwise_Direct

Random measure (used for test)

Author:
Sébastien Harispe

Constructor Summary
Sim_groupwise_Random()
           
 
Method Summary
 double sim(Set<org.openrdf.model.URI> setA, Set<org.openrdf.model.URI> setB, SM_Engine rc, SMconf conf)
          Compute the similarity between the given sets of concepts considering a particular configuration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sim_groupwise_Random

public Sim_groupwise_Random()
Method Detail

sim

public double sim(Set<org.openrdf.model.URI> setA,
                  Set<org.openrdf.model.URI> setB,
                  SM_Engine rc,
                  SMconf conf)
           throws slib.utils.ex.SLIB_Exception
Description copied from interface: Sim_Groupwise_Direct
Compute the similarity between the given sets of concepts considering a particular configuration.

Specified by:
sim in interface Sim_Groupwise_Direct
Parameters:
setA - the first set of vertices
setB - the second set of vertices
rc - the engine used to access specific information used by the measures
conf - the groupwise configuration.
Returns:
the semantic similarity of the pair of groups of concepts
Throws:
slib.utils.ex.SLIB_Exception


Copyright © 2013. All Rights Reserved.