org.problets.tutor.problemsequencer.competence
Class BaseLearnObjSelector

java.lang.Object
  extended by org.problets.tutor.problemsequencer.competence.BaseLearnObjSelector
Direct Known Subclasses:
RandomLearnObjSelector, SequenceLearnObjSelector

public class BaseLearnObjSelector
extends java.lang.Object

Serves as the base class for learning objective selectors Helps select the next learning objective for CompetenceProblemSequencer Could select next learning objective in Sequence, or Random Also, limits the number of problems generated in sequence for a learning objective

Author:
Amruth Kumar

Field Summary
static int ALL_OBJ_MET
           
static int maxProblems
           
static java.lang.String sequenceType
           
 
Constructor Summary
BaseLearnObjSelector(java.util.Vector inLearningObjectives)
           
 
Method Summary
static BaseLearnObjSelector getLearnObjSelector(java.util.Vector inLearningObjectives)
          Returns an object of the appropriate subclass
 int getNextLearningObjectiveIndex()
          Returns the next learning objective not yet met by the student.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sequenceType

public static java.lang.String sequenceType

maxProblems

public static int maxProblems

ALL_OBJ_MET

public static final int ALL_OBJ_MET
See Also:
Constant Field Values
Constructor Detail

BaseLearnObjSelector

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

getLearnObjSelector

public static BaseLearnObjSelector getLearnObjSelector(java.util.Vector inLearningObjectives)
Returns an object of the appropriate subclass


getNextLearningObjectiveIndex

public int getNextLearningObjectiveIndex()
Returns the next learning objective not yet met by the student. This method is redefined by all derived classes.