org.problets.tutor.problemsequencer.competence
Class RandomLearnObjSelector

java.lang.Object
  extended by org.problets.tutor.problemsequencer.competence.BaseLearnObjSelector
      extended by 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

Field Summary
 
Fields inherited from class org.problets.tutor.problemsequencer.competence.BaseLearnObjSelector
ALL_OBJ_MET, maxProblems, sequenceType
 
Constructor Summary
RandomLearnObjSelector(java.util.Vector inLearningObjectives)
           
 
Method Summary
 int getNextLearningObjectiveIndex()
          Returns the next learning objective not yet met by the student.
static void main(java.lang.String[] args)
           
 
Methods inherited from class org.problets.tutor.problemsequencer.competence.BaseLearnObjSelector
getLearnObjSelector
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomLearnObjSelector

public RandomLearnObjSelector(java.util.Vector inLearningObjectives)
Method Detail

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)