public class LocationFinder extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
LocationFinder.Location |
Container holding a (row, column) pair.
|
| Constructor | Description |
|---|---|
LocationFinder(NeuronSquareMesh2D map) |
Builds a finder to retrieve the locations of neurons that
belong to the given
map. |
| Modifier and Type | Method | Description |
|---|---|---|
LocationFinder.Location |
getLocation(Neuron n) |
Retrieves a neuron's grid coordinates.
|
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–2017 The Apache Software Foundation. All rights reserved.