public static class Relation.Builder extends Object implements Neuron.Builder
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
void |
connect(Neuron n) |
Relation |
getRelation() |
void |
registerSynapseIds(Neuron n) |
Relation.Builder |
setFrom(int synapseId)
This parameter allows to specify whether the relations connected to thy synapse refer to the activation of the
input neuron (that's the default) or if the should refer to one of the input activations of the input neuron.
|
Relation.Builder |
setRelation(Relation rel) |
Relation.Builder |
setTo(int synapseId) |
public Relation.Builder setFrom(int synapseId)
synapseId - public Relation.Builder setTo(int synapseId)
public Relation.Builder setRelation(Relation rel)
public Relation getRelation()
public void connect(Neuron n)
public void registerSynapseIds(Neuron n)
registerSynapseIds in interface Neuron.BuilderCopyright © 2018. All rights reserved.