The Encog Project

org.encog.util.math.rbf
Interface RadialBasisFunction

All Known Implementing Classes:
GaussianFunction

public interface RadialBasisFunction

Provides a generic interface to a radial basis function (RBF). Encog uses RBF's for a variety of purposes.

Author:
jheaton

Method Summary
 double calculate(double x)
          Calculate the RBF result for the specified value.
 double calculateDerivative(double x)
          Calculate the derivative of the RBF function.
 double getCenter()
           
 double getPeak()
           
 double getWidth()
           
 void setWidth(double radius)
          Set the width.
 

Method Detail

calculate

double calculate(double x)
Calculate the RBF result for the specified value.

Parameters:
x - The value to be passed into the RBF.
Returns:
The RBF value.

calculateDerivative

double calculateDerivative(double x)
Calculate the derivative of the RBF function.

Parameters:
x - The value to calculate for.
Returns:
The calculated value.

getCenter

double getCenter()
Returns:
The center of the RBF.

getPeak

double getPeak()
Returns:
The peak of the RBF.

getWidth

double getWidth()
Returns:
The width of the RBF.

setWidth

void setWidth(double radius)
Set the width.

Parameters:
radius - The width.

The Encog Project