Class Network.SerializationProxy

java.lang.Object
org.apache.commons.math3.ml.neuralnet.Network.SerializationProxy
All Implemented Interfaces:
Serializable
Enclosing class:
Network

private static class Network.SerializationProxy extends Object implements Serializable
Serialization.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serializable.
      See Also:
    • 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 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 in neuronList.
  • Method Details

    • readResolve

      private Object readResolve()
      Custom serialization.
      Returns:
      the Network for which this instance is the proxy.