1 namespace SpikingNeuronNetwork.Lib
24 public double Weight {
get; set; }
39 var stringBuilder =
new StringBuilder();
40 stringBuilder.AppendLine(
"---> Spike Time: " +
Synapse +
" at " + PreSpikeState.Time);
41 stringBuilder.AppendLine(
"--->Pre -Spike Phase: " + PreSpikeState.StateVariable);
42 stringBuilder.AppendLine(
"--->Post-Spike Phase: " + PostSpikeState.StateVariable);
43 stringBuilder.Append(
"--->Weight: " + Weight);
44 return stringBuilder.ToString();
57 if (obj == null)
return 1;
60 if (otherSpikeStats != null)
61 return PreSpikeState.Time.CompareTo(otherSpikeStats.PreSpikeState.Time);
62 throw new ArgumentException(
"Object is not a SpikeStats");
override string ToString()
Returns a System.String that represents this instance.
The spike statistics class
int CompareTo(object obj)
Compares the current instance with another object of the same type and returns an integer that indica...