public static class SPEA2.MutableDistanceMap
extends java.lang.Object
Constructor and Description |
---|
MutableDistanceMap(double[][] rawDistanceMatrix)
Constructs a new mapping of pair-wise distances between points.
|
Modifier and Type | Method and Description |
---|---|
int |
findMostCrowdedPoint()
Returns the most crowded point according to SPEA2's truncation
strategy.
|
protected void |
initialize(double[][] rawDistanceMatrix)
Initializes the internal data structures.
|
void |
removePoint(int index)
Removes the point with the given index.
|
public MutableDistanceMap(double[][] rawDistanceMatrix)
rawDistanceMatrix
- the distance matrixprotected void initialize(double[][] rawDistanceMatrix)
rawDistanceMatrix
- the distance matrixpublic int findMostCrowdedPoint()
public void removePoint(int index)
index
- the index to removeCopyright 2009-2024 David Hadka and other contributors. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage.