public class Ramp extends TransferFunction implements Serializable
output
Constructor and Description |
---|
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(Properties properties)
Creates an instance of Ramp transfer function with specified properties.
|
Modifier and Type | Method and Description |
---|---|
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
|
getDerivative
public Ramp()
public Ramp(double slope, double xLow, double xHigh, double yLow, double yHigh)
public Ramp(Properties properties)
public double getOutput(double net)
TransferFunction
getOutput
in class TransferFunction
net
- total 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 levelCopyright © 2019 Neuroph Project. All rights reserved.