jInfer

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

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

public class ImageSizeComparator
extends Object
implements Comparator<AttributeMappingId>

Comparator of attribute mappings based on the size of their images in the provided model.


Constructor Summary
ImageSizeComparator(AMModel model)
          Constructor.
 
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

ImageSizeComparator

public ImageSizeComparator(AMModel model)
Constructor.

Parameters:
Model - in context of which the AMs should be compared.
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