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.SerializableSerialization.
-
-
Field Summary
Fields Modifier and Type Field Description private intfeatureSizeNumber of features.private long[][]neighbourIdListLinks.private Neuron[]neuronListNeurons.private longnextIdNext identifier.private static longserialVersionUIDSerializable.
-
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.ObjectreadResolve()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
Networkfor which this instance is the proxy.
-
-