public class ProportionalIntegrationNeuralFunction extends NeuralFunction
A function that adds a proportion of an input value to itself.
The basic function equation is output += gain * input;.
The configuration parameters to the function are as follows:
Gain - the proportion value, which may be -x to +x (type Double).
Mandatory.
Min - a lower limit of the output value (type Double).
Max - an upper limit of the output value (type Double).
| Modifier and Type | Field and Description |
|---|---|
Boolean |
enableinfinity |
Double |
gain |
Double |
max |
Double |
min |
disabled, initial, last, linkAlphaComparator, links, linkslist, name, output, parameters, posindex, reset| Constructor and Description |
|---|
ProportionalIntegrationNeuralFunction(int g) |
ProportionalIntegrationNeuralFunction(List<Parameters> ps) |
| Modifier and Type | Method and Description |
|---|---|
double |
compute() |
double |
getParameter() |
void |
init() |
void |
setParameter(double par) |
clearParametersHashMap, close, deactivate, getConfigParameter, getDataString, getExternalControlFunction, getInitial, getName, getOutput, getParameter, getParameter, getParameterBoolean, getParameterDouble, getParameterInt, getParameterName, getParameterObject, getParametersSet, getParametersSize, getParametersString, getParameterType, getPosindex, getTime, isDisabled, pause, post, setConfigLinks, setField, setInitial, setLink, setLinks, setName, setOutput, setParameter, setPosindex, stop, verifyConfigurationpublic Double gain
public Double min
public Double max
public Boolean enableinfinity
public ProportionalIntegrationNeuralFunction(int g)
g - public ProportionalIntegrationNeuralFunction(List<Parameters> ps) throws Exception
ps - Exceptionpublic void init()
throws Exception
init in class BaseNeuralFunctionExceptionpublic double compute()
compute in interface NeuralFunctionInterfacecompute in class NeuralFunctionpublic double getParameter()
getParameter in interface NeuralFunctionInterfacegetParameter in class BaseNeuralFunctionpublic void setParameter(double par)
setParameter in interface NeuralFunctionInterfacesetParameter in class BaseNeuralFunctionCopyright © 2017. All rights reserved.