Package network.aika.neuron
Class INeuron.SynapseSummary
- java.lang.Object
-
- network.aika.neuron.INeuron.SynapseSummary
-
-
Constructor Summary
Constructors Constructor Description SynapseSummary()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommit()doublegetNegDirSum()doublegetNegRecSum()doublegetPosDirSum()doublegetPosPassiveSum()doublegetPosRecSum()doublegetPosSum(Synapse.State state)static INeuron.SynapseSummaryread(DataInput in, Model m)voidreadFields(DataInput in, Model m)Deserialize the fields of this object fromin.voidupdateSynapse(Synapse s)voidwrite(DataOutput out)Serialize the fields of this object toout.
-
-
-
Method Detail
-
getPosDirSum
public double getPosDirSum()
-
getNegDirSum
public double getNegDirSum()
-
getNegRecSum
public double getNegRecSum()
-
getPosRecSum
public double getPosRecSum()
-
getPosPassiveSum
public double getPosPassiveSum()
-
getPosSum
public double getPosSum(Synapse.State state)
-
updateSynapse
public void updateSynapse(Synapse s)
-
commit
public void commit()
-
read
public static INeuron.SynapseSummary read(DataInput in, Model m) throws IOException
- Throws:
IOException
-
write
public void write(DataOutput out) throws IOException
Description copied from interface:WritableSerialize the fields of this object toout.- Specified by:
writein interfaceWritable- Parameters:
out-DataOuputto serialize this object into.- Throws:
IOException
-
readFields
public void readFields(DataInput in, Model m) throws IOException
Description copied from interface:WritableDeserialize the fields of this object fromin.For efficiency, implementations should attempt to re-use storage in the existing object where possible.
- Specified by:
readFieldsin interfaceWritable- Parameters:
in-DataInputto deseriablize this object from.- Throws:
IOException
-
-