|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.neuroph.core.transfer.TransferFunction
org.neuroph.core.transfer.Ramp
public class Ramp
Ramp neuron transfer function.
Constructor Summary | |
---|---|
Ramp()
Creates an instance of Ramp transfer function with default settings |
|
Ramp(double slope,
double xLow,
double xHigh,
double yLow,
double yHigh)
Creates an instance of Ramp transfer function with specified settings |
|
Ramp(java.util.Properties properties)
Creates an instance of Ramp transfer function with specified properties. |
Method Summary | |
---|---|
double |
getOutput(double net)
Returns the ouput of this function. |
double |
getXHigh()
Returns threshold value for the high output level |
double |
getXLow()
Returns threshold value for the low output level |
double |
getYHigh()
Returns output value for high output level |
double |
getYLow()
Returns output value for low output level |
void |
setXHigh(double x)
Sets threshold for the high output level |
void |
setXLow(double x)
Sets threshold for the low output level |
void |
setYHigh(double y)
Sets output value for the high output level |
void |
setYLow(double y)
Sets output value for the low output level |
Methods inherited from class org.neuroph.core.transfer.TransferFunction |
---|
getDerivative, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Ramp()
public Ramp(double slope, double xLow, double xHigh, double yLow, double yHigh)
public Ramp(java.util.Properties properties)
Method Detail |
---|
public double getOutput(double net)
TransferFunction
getOutput
in class TransferFunction
net
- net inputpublic double getXLow()
public void setXLow(double x)
x
- threshold value for the low output levelpublic double getXHigh()
public void setXHigh(double x)
x
- threshold value for the high output levelpublic double getYLow()
public void setYLow(double y)
y
- value for the low output levelpublic double getYHigh()
public void setYHigh(double y)
y
- value for the high output level
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |