org.neuroph.core.transfer
Class Sgn

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

public class Sgn
extends TransferFunction
implements java.io.Serializable

Sgn neuron transfer function.

Author:
Zoran Sevarac
See Also:
Serialized Form

Constructor Summary
Sgn()
           
 
Method Summary
 double getOutput(double net)
          y = 1, x > 0 y = -1, x <= 0
 java.util.Properties getProperties()
          Returns the properties of this function
 
Methods inherited from class org.neuroph.core.transfer.TransferFunction
getDerivative, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Sgn

public Sgn()
Method Detail

getOutput

public double getOutput(double net)
y = 1, x > 0 y = -1, x <= 0

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

getProperties

public java.util.Properties getProperties()
Returns the properties of this function

Returns:
properties of this function