Back to project page Langleo.
The source code is released under:
Apache License
If you think the Android project Langleo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.atteo.langleo_trial; /*from w ww .ja v a 2 s.co m*/ import android.os.Bundle; import com.atteo.langleo_trial.models.Question; public interface LearningAlgorithm { public static final int QUESTIONS_WAITING = 0; public static final int NO_QUESTIONS = 1; public static final int QUESTIONS_ANSWERED = 2; public static final int QUESTIONS_ANSWERED_FORCEABLE = 3; public static final int ANSWER_CONTINUE = 0; public static final int ANSWER_NOT_NEW = 1; public static final int ANSWER_INCORRECT = 2; public static final int ANSWER_CORRECT = 3; public void start(Bundle bundle); public void stop(); public Bundle getInstanceState(); public int isQuestionWaiting(); public void increaseLimit(int increase); public void answer(Question question, int answerQuality); public Question getQuestion(); public int questionsAnswered(); public int allQuestions(); public void deletedQuestion(Question question); }