|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.studentmodel2.simulation.DifficultyMapper
public class DifficultyMapper
This class maps LeAM difficulties to [0,1] for use in e.g. IRT
| Field Summary | |
|---|---|
protected boolean |
useXLMStyleDifficulty
|
| Constructor Summary | |
|---|---|
DifficultyMapper()
|
|
| Method Summary | |
|---|---|
List |
doIRTDifficultyMapping(double irtDifficulty)
Sets the parameters difficulty and competencyLevel according to the IRT style difficulty. |
List |
doXLMDifficultyMapping(double irtDifficulty)
Sets the parameters difficulty and competencyLevel according to the XLM style difficulty. |
static DifficultyMapper |
getInstance()
Get an Instance of the mapper |
double |
getNextExerciseDifficulty(double mastery)
Get the difficulty for the next exercise according to the current mastery |
double |
getNormalizedDifficulty(Difficulty difficulty,
CompetencyLevel competencyLevel)
Get a normalized difficulty value given a CompetencyLevel and a Difficulty of an exercise. |
double |
getXLMNormDifficulty(Difficulty difficulty,
CompetencyLevel competencyLevel)
|
boolean |
isUseXLMStyleDifficulty()
|
void |
setUseXLMStyleDifficulty(boolean useXLMStyleDifficulty)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean useXLMStyleDifficulty
| Constructor Detail |
|---|
public DifficultyMapper()
| Method Detail |
|---|
public static DifficultyMapper getInstance()
public double getNormalizedDifficulty(Difficulty difficulty,
CompetencyLevel competencyLevel)
difficulty - - the difficulty of an exercisecompetencyLevel - - the competencyLevel of an execrise
public double getXLMNormDifficulty(Difficulty difficulty,
CompetencyLevel competencyLevel)
public List doIRTDifficultyMapping(double irtDifficulty)
irtDifficulty - - IRT style difficulty
public List doXLMDifficultyMapping(double irtDifficulty)
irtDifficulty - - IRT style difficulty
public double getNextExerciseDifficulty(double mastery)
mastery - - the mastery of the simulee
public boolean isUseXLMStyleDifficulty()
public void setUseXLMStyleDifficulty(boolean useXLMStyleDifficulty)
useXLMStyleDifficulty - the useXLMStyleDifficulty to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||