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 . |
Modifier and Type | Method and 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
.Jas4pp 1.5 © Java Analysis Studio for Particle Physics