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 Synapsepublic void setTargetNeuronIndex(int targetNeuronIndex)
setTargetNeuronIndex in interface MutableSynapsepublic void setType(byte type)
setType in interface MutableSynapsepublic void setWeight(float weight)
setWeight in interface MutableSynapsepublic int compareTo(Synapse other)
compareTo in interface Comparable<Synapse>