org.neuroph.core.transfer
Class Sin

java.lang.Object
  extended by org.neuroph.core.transfer.TransferFunction
      extended by org.neuroph.core.transfer.Sin
All Implemented Interfaces:
Serializable

public class Sin
extends TransferFunction

 Sin neuron transfer function.
 
 output = sin(input)
 

Author:
Zoran Sevarac
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.neuroph.core.transfer.TransferFunction
output
 
Constructor Summary
Sin()
           
 
Method Summary
 double getDerivative(double net)
          Returns the first derivative of this function.
 double getOutput(double net)
          Returns the ouput of this function.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sin

public Sin()
Method Detail

getOutput

public double getOutput(double net)
Description copied from class: TransferFunction
Returns the ouput of this function.

Specified by:
getOutput in class TransferFunction
Parameters:
net - net input

getDerivative

public double getDerivative(double net)
Description copied from class: TransferFunction
Returns the first derivative of this function.

Overrides:
getDerivative in class TransferFunction
Parameters:
net - net input


Copyright © 2012. All Rights Reserved.