org.dbe.eve.opt.alg.ga
Class AttributeComparer

java.lang.Object
  extended by org.dbe.eve.opt.alg.ga.AttributeComparer
All Implemented Interfaces:
java.util.Comparator

public class AttributeComparer
extends java.lang.Object
implements java.util.Comparator

Author:
tkurz Comparator for comparing lenght of Attribute Vectors in Individuals and AbstractServices First parameter for the comparison should be the Request and the second the Object to compare

Constructor Summary
AttributeComparer()
           
 
Method Summary
 int compare(java.lang.Object o1, java.lang.Object 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

AttributeComparer

public AttributeComparer()
Method Detail

compare

public int compare(java.lang.Object o1,
                   java.lang.Object o2)
Specified by:
compare in interface java.util.Comparator