public class DigitalLimitNeuralFunction extends NeuralFunction
Output limited to one of two configured digital values.
Depending on whether the input is above or below a threshold the output will be set to one of two provided values.
The configuration parameters to the function are as follows:
Threshold - the threshold value (type Double). Mandatory.
Upper - the output if the input is above the threshold (type Double).
Mandatory.
Lower - the output if the input is less than (or equal to) the
threshold (type Double). Mandatory.
| Modifier and Type | Field and Description |
|---|---|
int |
counteridle |
Double |
infinityvalue |
Double |
lower |
Double |
threshold |
Double |
upper |
disabled, initial, last, linkAlphaComparator, links, linkslist, name, output, parameters, posindex, reset| Constructor and Description |
|---|
DigitalLimitNeuralFunction(List<Parameters> ps) |
| Modifier and Type | Method and Description |
|---|---|
double |
compute() |
clearParametersHashMap, close, deactivate, getConfigParameter, getDataString, getExternalControlFunction, getInitial, getName, getOutput, getParameter, getParameter, getParameter, getParameterBoolean, getParameterDouble, getParameterInt, getParameterName, getParameterObject, getParametersSet, getParametersSize, getParametersString, getParameterType, getPosindex, getTime, init, isDisabled, pause, post, setConfigLinks, setField, setInitial, setLink, setLinks, setName, setOutput, setParameter, setParameter, setPosindex, stop, verifyConfigurationpublic Double threshold
public Double upper
public Double lower
public Double infinityvalue
public int counteridle
public DigitalLimitNeuralFunction(List<Parameters> ps) throws Exception
Exceptionpublic double compute()
compute in interface NeuralFunctionInterfacecompute in class NeuralFunctionCopyright © 2017. All rights reserved.