Class Network.SerializationProxy
java.lang.Object
org.apache.commons.math3.ml.neuralnet.Network.SerializationProxy
- All Implemented Interfaces:
Serializable
- Enclosing class:
Network
Serialization.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
Number of features.private final long[][]
Links.private final Neuron[]
Neurons.private final long
Next identifier.private static final long
Serializable. -
Constructor Summary
ConstructorsConstructorDescriptionSerializationProxy
(long nextId, int featureSize, Neuron[] neuronList, long[][] neighbourIdList) -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerializable.- See Also:
-
nextId
private final long nextIdNext identifier. -
featureSize
private final int featureSizeNumber of features. -
neuronList
Neurons. -
neighbourIdList
private final long[][] neighbourIdListLinks.
-
-
Constructor Details
-
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 Details
-
readResolve
Custom serialization.- Returns:
- the
Network
for which this instance is the proxy.
-