org.dishevelled.swarm
Interface Fitness

All Known Implementing Classes:
CompositeFitness, FitnessTransform, RandomFitness, UniformFitness

public interface Fitness

A fitness function for a particle swarm optimization algorithm.

Version:
$Revision$ $Date$
Author:
Michael Heuer

Method Summary
 double score(double[] position)
          Return a measure of fitness for the specified position.
 

Method Detail

score

double score(double[] position)
Return a measure of fitness for the specified position. The specified array of doubles will not be null. The length of the array will be equal to the number of dimensions for the position.

Parameters:
position - position
Returns:
a measure of fitness for the specified position


Copyright © 2006-2012 dishevelled.org. All Rights Reserved.