public class UnifiedDistanceMatrix extends Object implements MapVisualization
computed. They will be stored in additional pixels around each of the original units of the 2D-map. The additional pixels that lie along a "diagonal" are shared by two pairs of units: their value will be set to the average distance between the units belonging to each of the pairs. The value zero will be stored in the pixel corresponding to the location of a unit of the 2D-map.
|Constructor and Description|
|Modifier and Type||Method and Description|
Computes the distances between a unit of the map and its neighbours.
public double computeImage(NeuronSquareMesh2D map)
mapbecause each neuron has 8 neighbours. The value zero will be stored in the pixels corresponding to the location of a map unit.
Copyright © 2003–2021 The Apache Software Foundation. All rights reserved.