Package net.starype.quiz.api.game.answer
Class MCQAnswerFactory
- java.lang.Object
-
- net.starype.quiz.api.game.answer.MCQAnswerFactory
-
- All Implemented Interfaces:
CorrectAnswerFactory
public class MCQAnswerFactory extends java.lang.Object implements CorrectAnswerFactory
-
-
Constructor Summary
Constructors Constructor Description MCQAnswerFactory()
-
Method Summary
Modifier and Type Method Description AnswerEvaluator
createCorrectAnswer(java.util.Set<Answer> answers, AnswerProcessor answerProcessor)
MCQAnswerFactory
withInterpolation(LossFunction lossFunction)
MCQAnswerFactory
withPunitiveRatio(double punitiveRatio)
-
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.CorrectAnswerFactory
createCorrectAnswer, processList
-
-
-
-
Method Detail
-
createCorrectAnswer
public AnswerEvaluator createCorrectAnswer(java.util.Set<Answer> answers, AnswerProcessor answerProcessor)
- Specified by:
createCorrectAnswer
in interfaceCorrectAnswerFactory
-
withInterpolation
public MCQAnswerFactory withInterpolation(LossFunction lossFunction)
-
withPunitiveRatio
public MCQAnswerFactory withPunitiveRatio(double punitiveRatio)
-
-