Neuroph

org.neuroph.nnet.neuron
Class DelayedConnection

java.lang.Object
  extended by org.neuroph.core.Connection
      extended by org.neuroph.nnet.neuron.DelayedConnection
All Implemented Interfaces:
java.io.Serializable

public class DelayedConnection
extends Connection

The DelayedConnection class represents connection between neurons which can delay signal.

See Also:
Serialized Form

Field Summary
private  int delay
           
private static long serialVersionUID
           
 
Fields inherited from class org.neuroph.core.Connection
connectedNeuron, weight
 
Constructor Summary
DelayedConnection(Neuron connectTo, double weightVal, int delay)
           
 
Method Summary
 int getDelay()
           
 double getInput()
          Returns input received through this connection - the activation that comes from the output of the cell on the other end of connection
 void setDelay(int delay)
           
 
Methods inherited from class org.neuroph.core.Connection
getConnectedNeuron, getWeight, getWeightedInput
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

delay

private int delay
Constructor Detail

DelayedConnection

public DelayedConnection(Neuron connectTo,
                         double weightVal,
                         int delay)
Method Detail

getDelay

public int getDelay()

setDelay

public void setDelay(int delay)

getInput

public double getInput()
Description copied from class: Connection
Returns input received through this connection - the activation that comes from the output of the cell on the other end of connection

Overrides:
getInput in class Connection
Returns:
input received through this connection

Neuroph