Optimization API optimization-33 (20130530172738)

edu.cornell.med.icb.optimization
Class AbstractSubSetFitnessFunction

java.lang.Object
  extended by edu.cornell.med.icb.optimization.AbstractSubSetFitnessFunction
All Implemented Interfaces:
SubSetFitnessFunction

public abstract class AbstractSubSetFitnessFunction
extends Object
implements SubSetFitnessFunction

Author:
Fabien Campagne Date: Apr 5, 2008 Time: 11:29:40 AM

Constructor Summary
AbstractSubSetFitnessFunction()
           
 
Method Summary
 double evaluate(IntSet subset)
          Evaluate the fitness function given a subset.
 double evaluate(IntSet subset, double... paramValues)
          Evaluate the fitness function given a subset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSubSetFitnessFunction

public AbstractSubSetFitnessFunction()
Method Detail

evaluate

public double evaluate(IntSet subset,
                       double... paramValues)
Description copied from interface: SubSetFitnessFunction
Evaluate the fitness function given a subset. Larger fitness values are more fit and will be favored during optimization.

Specified by:
evaluate in interface SubSetFitnessFunction
Parameters:
subset - Subset of elements from the initial set.
paramValues - value of each define parameters (in the order that the parameters were provided to the Constructor of OptimizeSubSet)
Returns:
Value of the fitness function for the given subset.

evaluate

public double evaluate(IntSet subset)
Description copied from interface: SubSetFitnessFunction
Evaluate the fitness function given a subset. Larger fitness values are more fit and will be favored during optimization.

Specified by:
evaluate in interface SubSetFitnessFunction
Parameters:
subset - Subset of elements from the initial set.
Returns:
Value of the fitness function for the given subset.

Optimization API optimization-33 (20130530172738)

Copyright © 2007-2013 Institute for Computational Biomedicine, All Rights Reserved.