org.encog.mathutil.rbf
public abstract class BasicRBF extends Object implements RadialBasisFunction
Constructor and Description |
---|
BasicRBF() |
Modifier and Type | Method and Description |
---|---|
double |
getCenter(int dimension)
Get the center of this RBD.
|
double[] |
getCenters() |
int |
getDimensions() |
double |
getPeak()
Get the center of this RBD.
|
double |
getWidth() |
void |
setCenters(double[] centers)
Set the centers.
|
void |
setPeak(double thePeak)
Set the peak.
|
void |
setWidth(double theWidth)
Set the width.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
calculate
public final double getCenter(int dimension)
getCenter
in interface RadialBasisFunction
dimension
- The dimension to get the center for.public final double[] getCenters()
getCenters
in interface RadialBasisFunction
public final int getDimensions()
getDimensions
in interface RadialBasisFunction
public final double getPeak()
getPeak
in interface RadialBasisFunction
public final double getWidth()
getWidth
in interface RadialBasisFunction
public final void setCenters(double[] centers)
setCenters
in interface RadialBasisFunction
centers
- The centers.public final void setPeak(double thePeak)
setPeak
in interface RadialBasisFunction
thePeak
- The peak.public final void setWidth(double theWidth)
setWidth
in interface RadialBasisFunction
theWidth
- The width.Copyright © 2014. All Rights Reserved.