| Modifier and Type | Class and Description |
|---|---|
| private static class | NeuronString.
Serialization. |
| Modifier and Type | Field and Description |
|---|---|
| private final long[] | identifiers
Mapping of the 1D coordinate to the neuron identifiers
(attributed by the |
| private final Network | network
Underlying network. |
| private static final long | serialVersionUID
Serial version ID |
| private final int | size
Number of neurons. |
| private final boolean | wrap
Wrap. |
| Access | Constructor and Description |
|---|---|
| pack-priv | NeuronString(boolean
Whether to wrap the dimension (i.e the first and last
neurons will be linked together). wrap, double[][] Arrays that will initialize the features sets of
the network's neurons. featuresList)Constructor with restricted access, solely used for deserialization. |
| public | NeuronString(int
Number of neurons. num, boolean Whether to wrap the dimension (i.e the first and last
neurons will be linked together). wrap, FeatureInitializer[] Arrays that will initialize the features sets of
the network's neurons. featureInit)Creates a one-dimensional network: Each neuron not located on the border of the mesh has two neurons linked to it. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public double[] | Returns: the features of the neuron at indexi.Neuron index. i)Retrieves the features set from the neuron at location
|
| public Network | |
| public int | |
| private void | |
| private Object |
| identifiers | back to summary |
|---|---|
| private final long[] identifiers Mapping of the 1D coordinate to the neuron identifiers
(attributed by the | |
| network | back to summary |
|---|---|
| private final Network network Underlying network. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serial version ID | |
| size | back to summary |
|---|---|
| private final int size Number of neurons. | |
| wrap | back to summary |
|---|---|
| private final boolean wrap Wrap. | |
| NeuronString | back to summary |
|---|---|
| pack-priv NeuronString(boolean wrap, double[][] featuresList) Constructor with restricted access, solely used for deserialization.
| |
| NeuronString | back to summary |
|---|---|
| public NeuronString(int num, boolean wrap, FeatureInitializer[] featureInit) Creates a one-dimensional network:
Each neuron not located on the border of the mesh has two
neurons linked to it.
| |
| createLinks | back to summary |
|---|---|
| private void createLinks() Creates the neighbour relationships between neurons. | |
| getFeatures | back to summary |
|---|---|
| public double[] getFeatures(int i) Retrieves the features set from the neuron at location
| |
| getNetwork | back to summary |
|---|---|
| public Network getNetwork() Retrieves the underlying network.
A reference is returned (enabling, for example, the network to be
trained).
This also implies that calling methods that modify the
| |
| getSize | back to summary |
|---|---|
| public int getSize() Gets the number of neurons.
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream in) Prevents proxy bypass.
| |
| writeReplace | back to summary |
|---|---|
| private Object writeReplace() Custom serialization.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final double[][] | featuresList
Neurons' features. |
| private static final long | serialVersionUID
Serializable. |
| private final boolean | wrap
Wrap. |
| Access | Constructor and Description |
|---|---|
| pack-priv | SerializationProxy(boolean
Whether the dimension is wrapped. wrap, double[][] List of neurons features.
featuresList)neuronList.
|
| Modifier and Type | Method and Description |
|---|---|
| private Object |
| featuresList | back to summary |
|---|---|
| private final double[][] featuresList Neurons' features. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serializable. | |
| wrap | back to summary |
|---|---|
| private final boolean wrap Wrap. | |
| SerializationProxy | back to summary |
|---|---|
pack-priv SerializationProxy(boolean wrap, double[][] featuresList)
| |
| readResolve | back to summary |
|---|---|
| private Object readResolve() Custom serialization. | |