Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

org.evolvica.core
Class IndividualSetUtils

java.lang.Object
  extended byorg.evolvica.core.IndividualSetUtils

public class IndividualSetUtils
extends java.lang.Object

Some utiility methods for individual set handling.

Since:
0.4.0
Version:
$Revision: 1.6 $ $Date: 2004/05/26 11:57:55 $
Author:
Andreas Rummler

Method Summary
static IIndividual findBest(IIndividualSet set, IIndividualComparator comparator)
          Finds the best individual in a given set.
static IIndividual findWorst(IIndividualSet set, IIndividualComparator comparator)
          Finds the worst individual in a given set.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

findBest

public static final IIndividual findBest(IIndividualSet set,
                                         IIndividualComparator comparator)
Finds the best individual in a given set.

Parameters:
set - individual set
comparator - comparator to be used
Returns:
best found individual

findWorst

public static final IIndividual findWorst(IIndividualSet set,
                                          IIndividualComparator comparator)
Finds the worst individual in a given set.

Parameters:
set - individual set
comparator - comparator to be used
Returns:
worst found individual

Evolvica Core API Version 0.6.2
Last Modified: June 29 2004

Copyright © 2000-2004 Technical University of Ilmenau, Department Electronic Circuits and Systems