package geym.akka.ch7.pso;

import java.util.List;

public class Fitness {
	public static double fitness(List<Double> x){
		double sum=0;
		for(int i=1;i<x.size();i++){
			sum+=Math.sqrt(x.get(i));
		}
		return sum;
	}
}
