jInfer

cz.cuni.mff.ksi.jinfer.iss.utils
Class WeightComparator

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.iss.utils.WeightComparator
All Implemented Interfaces:
Comparator<AttributeMappingId>

public class WeightComparator
extends Object
implements Comparator<AttributeMappingId>

Comparator of attribute mappings based on their weights in the context of the provided experiment.


Constructor Summary
WeightComparator(AMModel model, double alpha, double beta)
           
 
Method Summary
 int compare(AttributeMappingId o1, AttributeMappingId o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

WeightComparator

public WeightComparator(AMModel model,
                        double alpha,
                        double beta)
Method Detail

compare

public int compare(AttributeMappingId o1,
                   AttributeMappingId o2)
Specified by:
compare in interface Comparator<AttributeMappingId>

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011