-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAltNeuron.cs
More file actions
33 lines (32 loc) · 761 Bytes
/
AltNeuron.cs
File metadata and controls
33 lines (32 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System.IO;
using System;
using System.Collections;
using System.Collections.Generic;
namespace SLN
{
/// <summary>
/// An Izhikevich's neuron vith an "alternative" representation
/// </summary>
[Serializable]
internal class AltNeuron : Neuron
{
public int idp;
public int idt;
public bool inserted;
internal AltNeuron()
: base()
{
A = Constants.A_IZH_SPK;
B = Constants.B_IZH_SPK;
C = Constants.C_IZH_SPK;
D = Constants.D_IZH_SPK;
}
public void setCoord(int i, int j, int z1, int z2, LayerNumbers layer)
{
this.setCoord(i,j,layer);
idp = z1;
idt = z2;
inserted = false;
}
}
}