activationFunction
Class SymetricHardLimitActivationFunction

java.lang.Object
  extended by activationFunction.SymetricHardLimitActivationFunction
All Implemented Interfaces:
ActivationFunctionModel

public class SymetricHardLimitActivationFunction
extends java.lang.Object
implements ActivationFunctionModel

Symetric Hard Limit function return 1 if input value is greater then threshold and -1 otherwise.


Constructor Summary
SymetricHardLimitActivationFunction(double p)
          Creates a new instance of SymetricHardLimitActivationFunction with specified paremeter p
 
Method Summary
 double[] getParamateres()
          Return array contains parameters list
 double getValue(double inputValue)
          Return 1 if input value is greater then p and -1 otherwise.
 void setParameteres(double[] paramateresList)
          Set parameters of Hard limit activation funciton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymetricHardLimitActivationFunction

public SymetricHardLimitActivationFunction(double p)
Creates a new instance of SymetricHardLimitActivationFunction with specified paremeter p

Parameters:
p - threhsold
Method Detail

setParameteres

public void setParameteres(double[] paramateresList)
Set parameters of Hard limit activation funciton

Specified by:
setParameteres in interface ActivationFunctionModel
Parameters:
paramateresList - Array of parameters

getParamateres

public double[] getParamateres()
Return array contains parameters list

Specified by:
getParamateres in interface ActivationFunctionModel
Returns:
Array of parameters

getValue

public double getValue(double inputValue)
Return 1 if input value is greater then p and -1 otherwise.

Specified by:
getValue in interface ActivationFunctionModel
Parameters:
inputValue - input Value
Returns:
value of the function