Neuroph

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

The Diference class performs the vector difference operation on input and weight vector.

See Also:
Serialized Form

Field Summary
private static long serialVersionUID
          The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The class fingerprint that is set to indicate serialization compatibility with a previous version of the class.

See Also:
Constant Field Values
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

Neuroph