Class Network.SerializationProxy
- java.lang.Object
-
- org.apache.commons.math3.ml.neuralnet.Network.SerializationProxy
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- Network
private static class Network.SerializationProxy extends java.lang.Object implements java.io.Serializable
Serialization.
-
-
Field Summary
Fields Modifier and Type Field Description private int
featureSize
Number of features.private long[][]
neighbourIdList
Links.private Neuron[]
neuronList
Neurons.private long
nextId
Next identifier.private static long
serialVersionUID
Serializable.
-
Constructor Summary
Constructors Constructor Description SerializationProxy(long nextId, int featureSize, Neuron[] neuronList, long[][] neighbourIdList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.Object
readResolve()
Custom serialization.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serializable.- See Also:
- Constant Field Values
-
nextId
private final long nextId
Next identifier.
-
featureSize
private final int featureSize
Number of features.
-
neuronList
private final Neuron[] neuronList
Neurons.
-
neighbourIdList
private final long[][] neighbourIdList
Links.
-
-
Constructor Detail
-
SerializationProxy
SerializationProxy(long nextId, int featureSize, Neuron[] neuronList, long[][] neighbourIdList)
- Parameters:
nextId
- Next available identifier.featureSize
- Number of features.neuronList
- Neurons.neighbourIdList
- Links associated to each of the neurons inneuronList
.
-
-
Method Detail
-
readResolve
private java.lang.Object readResolve()
Custom serialization.- Returns:
- the
Network
for which this instance is the proxy.
-
-