org.encog.mathutil.rbf
Interface RadialBasisFunction
-
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- BasicRBF, GaussianFunction, InverseMultiquadricFunction, MexicanHatFunction, MultiquadricFunction
public interface RadialBasisFunction extends java.io.SerializableA multi-dimension RBF.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublecalculate(double[] x)Calculate the RBF result for the specified value.doublegetCenter(int dimension)Get the center of this RBD.double[]getCenters()intgetDimensions()doublegetPeak()Get the center of this RBD.doublegetWidth()voidsetCenters(double[] center)Set the centers.voidsetPeak(double peak)Set the peak.voidsetWidth(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.
-
getCenter
double getCenter(int dimension)
Get the center of this RBD.- Parameters:
dimension- The dimension to get the center for.- Returns:
- The center of the RBF.
-
getPeak
double getPeak()
Get the center of this RBD.- Returns:
- The center of the RBF.
-
setPeak
void setPeak(double peak)
Set the peak.- Parameters:
peak- The peak.
-
getWidth
double getWidth()
- Returns:
- The width of the RBF.
-
getDimensions
int getDimensions()
- Returns:
- The dimensions in this RBF.
-
setWidth
void setWidth(double radius)
Set the width.- Parameters:
radius- The width.
-
getCenters
double[] getCenters()
- Returns:
- Get the centers.
-
setCenters
void setCenters(double[] center)
Set the centers.- Parameters:
center- The centers.
-
-
DMelt 3.0 © DataMelt by jWork.ORG