slib.sml.sm.core.measures
Interface Sim_Groupwise_Indirect

All Superinterfaces:
Sim_Groupwise
All Known Implementing Classes:
Sim_groupwise_Average, Sim_groupwise_AVERAGE_NORMALIZED_GOSIM, Sim_groupwise_BestMatchAverage, Sim_groupwise_BestMatchMax, Sim_groupwise_general_abstract, Sim_groupwise_Lord_2003, Sim_groupwise_Max, Sim_groupwise_MAX_NORMALIZED_GOSIM, Sim_groupwise_Min

public interface Sim_Groupwise_Indirect
extends Sim_Groupwise

Interface used to represent groupwise measures based on a pairwise measures. Those measures rely on the aggregation of the scores produced by pairwise measures and are therefore considered as indirect in the literature.

Author:
Harispe Sébastien

Method Summary
 double sim(Set<org.openrdf.model.URI> setA, Set<org.openrdf.model.URI> setB, SM_Engine rc, SMconf groupwiseconf, SMconf pairwiseConf)
          Compute the similarity between the given sets of concepts considering a particular configuration.
 

Method Detail

sim

double sim(Set<org.openrdf.model.URI> setA,
           Set<org.openrdf.model.URI> setB,
           SM_Engine rc,
           SMconf groupwiseconf,
           SMconf pairwiseConf)
           throws slib.utils.ex.SLIB_Exception
Compute the similarity between the given sets of concepts considering a particular configuration. Note that the specified pairwise configuration must override the pairwise configuration originally specified in the groupwise configuration (if any).

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
groupwiseconf - the groupwise configuration.
pairwiseConf - the pairwise configuration.
Returns:
the semantic similarity of the pair of groups of concepts
Throws:
slib.utils.ex.SLIB_Exception


Copyright © 2013. All Rights Reserved.