Extracted fitness function to separate class instead of Lambda
Cleaned up javadoc
Refactored fitness function code to add more significative variables names
@@ -3,7 +3,6 @@ package com.baeldung.algorithms.multiswarm;
import java.util.Arrays;
import java.util.Random;
-// TODO: Auto-generated Javadoc
/**
* Represents a collection of {@link Particle}.
*
