| Modifier and Type | Class and Description |
|---|---|
static class |
Synapse.Key |
static class |
Synapse.RangeSignal |
static class |
Synapse.RangeVisibility |
| Modifier and Type | Field and Description |
|---|---|
Neuron |
input |
static Comparator<Synapse> |
INPUT_SYNAPSE_BY_WEIGHTS_COMP |
static Comparator<Synapse> |
INPUT_SYNAPSE_COMP |
InputNode |
inputNode |
Synapse.Key |
key |
double |
maxLowerWeightsSum |
Neuron |
output |
static Comparator<Synapse> |
OUTPUT_SYNAPSE_COMP |
double |
w |
| Constructor and Description |
|---|
Synapse() |
Synapse(Neuron input) |
Synapse(Neuron input,
Synapse.Key key) |
| Modifier and Type | Method and Description |
|---|---|
static int |
compareWeights(Double a,
Double b,
double tolerance) |
void |
link(Iteration t) |
static Synapse |
read(DataInput in,
Iteration t) |
void |
readFields(DataInput in,
Iteration t)
Deserialize the fields of this object from
in. |
String |
toString() |
void |
write(DataOutput out)
Serialize the fields of this object to
out. |
public static final Comparator<Synapse> INPUT_SYNAPSE_BY_WEIGHTS_COMP
public static final Comparator<Synapse> INPUT_SYNAPSE_COMP
public static final Comparator<Synapse> OUTPUT_SYNAPSE_COMP
public Neuron input
public Neuron output
public InputNode inputNode
public Synapse.Key key
public double w
public double maxLowerWeightsSum
public Synapse()
public Synapse(Neuron input)
public Synapse(Neuron input, Synapse.Key key)
public void link(Iteration t)
public void write(DataOutput out) throws IOException
Writableout.write in interface Writableout - DataOuput to serialize this object into.IOExceptionpublic void readFields(DataInput in, Iteration t) throws IOException
Writablein.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Writablein - DataInput to deseriablize this object from.IOExceptionpublic static Synapse read(DataInput in, Iteration t) throws IOException
IOExceptionCopyright © 2017. All rights reserved.