public interface Neuron
Modifier and Type | Method and Description |
---|---|
double[] |
getCurr(double currTime) |
double |
getMemV(double currTime) |
boolean |
getRecord()
record the neuron
|
long |
getTHost() |
double |
getTimeOfNextFire()
get the value of timeOfNextFire
|
void |
init(int expid,
int trialid,
Seed idum,
Network net,
int id)
initialize the neuron
|
boolean |
isSensory()
sensory report
|
boolean |
realFire() |
void |
setRecord(boolean record)
set the neuron record or not.
|
void |
setTHost(long id)
set the target host id, 0 means none, 1 means yes
|
void |
setTimeOfNextFire(double timeOfNextFire)
set a new value to timeOfNextFire
|
double |
updateFire()
update of the neuron after firing
the current time is TimeOfNextFire
|
double |
updateInput(double time,
Synapse input)
update of the neuron after receiving a spike
the current time is time
|
double[] getCurr(double currTime)
double getMemV(double currTime)
boolean getRecord()
long getTHost()
double getTimeOfNextFire()
boolean isSensory()
boolean realFire()
void setRecord(boolean record)
void setTHost(long id)
void setTimeOfNextFire(double timeOfNextFire)
timeOfNextFire
- the new value to be useddouble updateFire()
double updateInput(double time, Synapse input)
input
- it is a InputEvent event in the input queue