public class LocationFinder extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
LocationFinder.Location
Container holding a (row, column) pair.
|
| Constructor and Description |
|---|
LocationFinder(NeuronSquareMesh2D map)
Builds a finder to retrieve the locations of neurons that
belong to the given
map. |
public LocationFinder(NeuronSquareMesh2D map)
map.map - Map.MathIllegalStateException - if the network contains non-unique
identifiers. This indicates an inconsistent state due to a bug in
the construction code of the underlying
network.public LocationFinder.Location getLocation(Neuron n)
n - Neuron.n, or null
if no such neuron belongs to the map used to build this instance.Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.