Package net.starype.quiz.api.game.answer
Class NormalLossFunction
- java.lang.Object
-
- net.starype.quiz.api.game.answer.NormalLossFunction
-
- All Implemented Interfaces:
LossFunction
public class NormalLossFunction extends java.lang.Object implements LossFunction
-
-
Constructor Summary
Constructors Constructor Description NormalLossFunction()
-
Method Summary
Modifier and Type Method Description double
evaluate(double error)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.starype.quiz.api.game.answer.LossFunction
evaluate
-
-
-
-
Method Detail
-
evaluate
public double evaluate(double error)
- Specified by:
evaluate
in interfaceLossFunction
-
-