Package network.aika
Interface Writable
-
- All Known Implementing Classes:
AbstractNode,AncestorRelation,AncestorRelation.CommonAncestor,AncestorRelation.IsAncestorOf,AncestorRelation.IsDescendantOf,AncestorRelation.NotAncestorOf,AncestorRelation.NotDescendantOf,AndNode,INeuron,INeuron.SynapseSummary,InputNode,MultiRelation,Node,OrEntry,OrNode,PositionRelation,PositionRelation.Equals,PositionRelation.GreaterThan,PositionRelation.LessThan,Refinement,RefValue,Relation,Relation.Any,RelationsMap,Synapse
public interface Writable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreadFields(DataInput in, Model m)Deserialize the fields of this object fromin.voidwrite(DataOutput out)Serialize the fields of this object toout.
-
-
-
Method Detail
-
write
void write(DataOutput out) throws IOException
Serialize the fields of this object toout.- Parameters:
out-DataOuputto serialize this object into.- Throws:
IOException
-
readFields
void readFields(DataInput in, Model m) throws IOException
Deserialize the fields of this object fromin.For efficiency, implementations should attempt to re-use storage in the existing object where possible.
- Parameters:
in-DataInputto deseriablize this object from.- Throws:
IOException
-
-