|
|||||||||
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.Trapezoid
public class Trapezoid
Fuzzy trapezoid neuron tranfer function.
Constructor Summary | |
---|---|
Trapezoid()
Creates an instance of Trapezoid transfer function |
|
Trapezoid(double leftLow,
double leftHigh,
double rightLow,
double rightHigh)
Creates an instance of Trapezoid transfer function with the specified setting. |
|
Trapezoid(java.util.Properties properties)
Creates an instance of Trapezoid transfer function with the specified properties. |
Method Summary | |
---|---|
double |
getLeftHigh()
Returns left high point of trapezoid function |
double |
getLeftLow()
Returns left low point of trapezoid function |
double |
getOutput(double net)
Returns the ouput of this function. |
double |
getRightHigh()
Returns right high point of trapezoid function |
double |
getRightLow()
Returns right low point of trapezoid function |
void |
setLeftHigh(double leftHigh)
Sets left high point of trapezoid function |
void |
setLeftLow(double leftLow)
Sets left low point of trapezoid function |
void |
setRightHigh(double rightHigh)
Sets right high point of trapezoid function |
void |
setRightLow(double rightLow)
Sets right low point of trapezoid function |
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 Trapezoid()
public Trapezoid(double leftLow, double leftHigh, double rightLow, double rightHigh)
public Trapezoid(java.util.Properties properties)
Method Detail |
---|
public double getOutput(double net)
TransferFunction
getOutput
in class TransferFunction
net
- net inputpublic void setLeftLow(double leftLow)
leftLow
- left low point of trapezoid functionpublic void setLeftHigh(double leftHigh)
leftHigh
- left high point of trapezoid functionpublic void setRightLow(double rightLow)
rightLow
- right low point of trapezoid functionpublic void setRightHigh(double rightHigh)
rightHigh
- right high point of trapezoid functionpublic double getLeftLow()
public double getLeftHigh()
public double getRightLow()
public double getRightHigh()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |