public static class WeightingFunction.step extends Object implements WeightFunc
| Constructor and Description |
|---|
WeightingFunction.step() |
| Modifier and Type | Method and Description |
|---|---|
double |
cost(double a,
double b)
Cost computation: the absolute value of a subtraction, with application of a saturation if the difference value reaches
a certain percentage of the mean value of the arguments.
|
void |
setParam(String val)
Optional argument setting.
|
String |
whoAmI()
String definition of the function.
|
public double cost(double a,
double b)
cost in interface WeightFunca - ab - bpublic void setParam(String val)
setParam in interface WeightFuncval - valpublic String whoAmI()
whoAmI in interface WeightFuncCopyright © 2000–2016 DFKI GmbH. All rights reserved.