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 WeightFunc
a
- ab
- bpublic void setParam(String val)
setParam
in interface WeightFunc
val
- valpublic String whoAmI()
whoAmI
in interface WeightFunc
Copyright © 2000–2016 DFKI GmbH. All rights reserved.