Class Relation.Builder

    • Field Detail

      • from

        protected int from
      • to

        protected int to
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • getFrom

        public int getFrom()
      • getTo

        public int getTo()
      • setFrom

        public 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. In this case the synapseId of the input neuron needs to be specified which leads to the desired input activation.
        Parameters:
        synapseId -
        Returns:
      • getRelation

        public Relation getRelation()
      • connect

        public void connect​(Neuron n)