public final class MutableSynapseImp extends Object implements MutableSynapse
ModulatedSynapseImp
Constructor and Description |
---|
MutableSynapseImp(int targetNeuronIndex,
byte type,
float weight) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Synapse other) |
int |
getTargetNeuronIndex() |
byte |
getType() |
float |
getWeight() |
void |
setTargetNeuronIndex(int targetNeuronIndex) |
void |
setType(byte type) |
void |
setWeight(float weight) |
String |
toString() |
public MutableSynapseImp(int targetNeuronIndex, byte type, float weight)
public int getTargetNeuronIndex()
getTargetNeuronIndex
in interface Synapse
public void setTargetNeuronIndex(int targetNeuronIndex)
setTargetNeuronIndex
in interface MutableSynapse
public void setType(byte type)
setType
in interface MutableSynapse
public void setWeight(float weight)
setWeight
in interface MutableSynapse
public int compareTo(Synapse other)
compareTo
in interface Comparable<Synapse>