|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neuroph.core.Connection
org.neuroph.nnet.comp.DelayedConnection
public class DelayedConnection
Represents the connection between neurons which can delay signal.
Field Summary |
---|
Fields inherited from class org.neuroph.core.Connection |
---|
connectedNeuron, weight |
Constructor Summary | |
---|---|
DelayedConnection(Neuron connectTo,
double weightVal,
int delay)
Creates an instance of delayed connection to cpecified neuron and with specified weight |
Method Summary | |
---|---|
int |
getDelay()
Returns delay value for this connection |
double |
getInput()
Gets delayed input through this connection |
void |
setDelay(int delay)
Sets delay value for this connection |
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 |
Constructor Detail |
---|
public DelayedConnection(Neuron connectTo, double weightVal, int delay)
connectTo
- neuron to connect tiweightVal
- weight value for the connectiondelay
- delay for the connectionMethod Detail |
---|
public int getDelay()
public void setDelay(int delay)
delay
- value for this connectionpublic double getInput()
getInput
in class Connection
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |