org.neuroph.core.input
Class Diference

java.lang.Object
  extended by org.neuroph.core.input.WeightsFunction
      extended by org.neuroph.core.input.Diference
All Implemented Interfaces:
java.io.Serializable

public class Diference
extends WeightsFunction
implements java.io.Serializable

Performs the vector difference operation on input and weight vector.

Author:
Zoran Sevarac
See Also:
Serialized Form

Constructor Summary
Diference()
           
 
Method Summary
 java.util.Vector<java.lang.Double> getOutput(java.util.Vector<Connection> inputConnections)
          Returns function's output
 
Methods inherited from class org.neuroph.core.input.WeightsFunction
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Diference

public Diference()
Method Detail

getOutput

public java.util.Vector<java.lang.Double> getOutput(java.util.Vector<Connection> inputConnections)
Description copied from class: WeightsFunction
Returns function's output

Specified by:
getOutput in class WeightsFunction
Parameters:
inputConnections - neuron's input connections
Returns:
function's output