learningFactorFunctional
Class GaussFunctionalFactor

java.lang.Object
  extended by learningFactorFunctional.GaussFunctionalFactor
All Implemented Interfaces:
LearningFactorFunctionalModel

public class GaussFunctionalFactor
extends java.lang.Object
implements LearningFactorFunctionalModel

Gauss Function Factor descibed by function exp(-(k^2))/(2*r^2))


Constructor Summary
GaussFunctionalFactor()
           
 
Method Summary
 double[] getParameters()
          Return array containing parameter r - radius
 double getValue(int k)
          Return value calculated by function describe as exp(-(k^2))/(2*r^2))
 void setParameters(double[] parameters)
          Set parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaussFunctionalFactor

public GaussFunctionalFactor()
Method Detail

getParameters

public double[] getParameters()
Return array containing parameter r - radius

Specified by:
getParameters in interface LearningFactorFunctionalModel
Returns:
constant parameter

setParameters

public void setParameters(double[] parameters)
Set parameters. r - radius

Specified by:
setParameters in interface LearningFactorFunctionalModel
Parameters:
parameters - constat value

getValue

public double getValue(int k)
Return value calculated by function describe as exp(-(k^2))/(2*r^2))

Specified by:
getValue in interface LearningFactorFunctionalModel
Parameters:
k - iteration
Returns:
value of function factor