Interface Writable

All Known Implementing Classes:
BindingNeuron, BindingNeuronSynapse, CategoryNeuron, CategorySynapse, ConjunctiveNeuron, ConjunctiveSynapse, DisjunctiveNeuron, DisjunctiveSynapse, DoubleField, InhibitoryNeuron, InhibitorySynapse, Model, NegativeFeedbackSynapse, Neuron, PatternNeuron, PatternSynapse, PositiveFeedbackSynapse, PrimaryInputSynapse, QueueDoubleField, RelatedInputSynapse, SamePatternSynapse, SampleSpace, Synapse, TextModel

public interface Writable
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Deserialize the fields of this object from in.
    void
    Serialize the fields of this object to out.
  • Method Details

    • write

      void write(DataOutput out) throws IOException
      Serialize the fields of this object to out.
      Parameters:
      out - DataOuput to serialize this object into.
      Throws:
      IOException
    • readFields

      void readFields(DataInput in, Model m) throws Exception
      Deserialize the fields of this object from in.

      For efficiency, implementations should attempt to re-use storage in the existing object where possible.

      Parameters:
      in - DataInput to deseriablize this object from.
      Throws:
      Exception