org.problets.tutor.problemsequencer.competence
Class RandomLearnObjSelector
java.lang.Object
org.problets.tutor.problemsequencer.competence.BaseLearnObjSelector
org.problets.tutor.problemsequencer.competence.RandomLearnObjSelector
public class RandomLearnObjSelector
- extends BaseLearnObjSelector
Helps select the next learning objective for CompetenceProblemSequencer
Selects the next learning objective in random
Prevents using the same learning objective back to back unless it is the only one left
Limits the number of problems generated in sequence
- Author:
- Amruth Kumar
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomLearnObjSelector
public RandomLearnObjSelector(java.util.Vector inLearningObjectives)
getNextLearningObjectiveIndex
public int getNextLearningObjectiveIndex()
- Description copied from class:
BaseLearnObjSelector
- Returns the next learning objective not yet met by the student.
This method is redefined by all derived classes.
- Overrides:
getNextLearningObjectiveIndex
in class BaseLearnObjSelector
main
public static void main(java.lang.String[] args)