|
|||||||||
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.Step
public class Step
Step neuron transfer function. y = yHigh, x > 0 y = yLow, x <= 0
Constructor Summary | |
---|---|
Step()
Creates an instance of Step transfer function |
|
Step(java.util.Properties properties)
Creates an instance of Step transfer function with specified properties |
Method Summary | |
---|---|
double |
getOutput(double net)
Returns the ouput of this function. |
java.util.Properties |
getProperties()
Returns the properties of this function |
double |
getYHigh()
Returns output value for high output level |
double |
getYLow()
Returns output value for low output level |
void |
setYHigh(double yHigh)
Set output value for the high output level |
void |
setYLow(double yLow)
Set 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 Step()
public Step(java.util.Properties properties)
Method Detail |
---|
public double getOutput(double net)
TransferFunction
getOutput
in class TransferFunction
net
- net inputpublic double getYHigh()
public void setYHigh(double yHigh)
yHigh
- value for the high output levelpublic double getYLow()
public void setYLow(double yLow)
yLow
- value for the low output levelpublic java.util.Properties getProperties()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |