Class PotentialFunctionLinear
- java.lang.Object
-
- weka.classifiers.functions.explicitboundaries.combiners.PotentialFunctionLinear
-
- All Implemented Interfaces:
Serializable
,PotentialFunction
public class PotentialFunctionLinear extends Object implements PotentialFunction, Serializable
- Since:
- 0.1.0
- Version:
- 2.0.0
- Author:
- pawel trajdos
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PotentialFunctionLinear()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getPotentialValue(double x)
Calculates the potential value for x
-
-
-
Method Detail
-
getPotentialValue
public double getPotentialValue(double x) throws Exception
Description copied from interface:PotentialFunction
Calculates the potential value for x- Specified by:
getPotentialValue
in interfacePotentialFunction
- Returns:
- Throws:
Exception
-
-