- Extracted fitness function to separate class instead of Lambda
- Cleaned up javadoc - Refactored fitness function code to add more significative variables names
This commit is contained in:
@@ -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}.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user