Package network.aika.utils
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 TypeMethodDescriptionvoid
readFields
(DataInput in, Model m) Deserialize the fields of this object fromin
.void
write
(DataOutput out) Serialize the fields of this object toout
.
-
Method Details
-
write
Serialize the fields of this object toout
.- Parameters:
out
-DataOuput
to serialize this object into.- Throws:
IOException
-
readFields
Deserialize the fields of this object fromin
.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
-