|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.studentmodel2.simulation.StudentSimulator
public class StudentSimulator
| Field Summary | |
|---|---|
protected List |
concepts
A list of concepts that will be taken into account for the simulation |
protected int |
evidenceCnt
Number of evidences to be created for each concept |
protected List |
exercises
List of exercises generated (for later rerun) |
protected static Logger |
log
Logger service |
protected Map |
masteryEstimates
A Map of estimated Masteries for the assessed concepts key: userId value: -> Map with: key: ConceptId value: Integer[] - containing the masteries after k-th evidence |
protected boolean |
rerun
Is this a rerun of an existing simulation? |
protected String |
simBaseDir
Base directory for simulation data |
protected String |
simulationId
The name of a simulation setup/configuration for easy replay and later reference |
protected int |
simuleeCnt
Number of students to be simulated |
protected Map |
simulees
The map of simulated Students key: studentName value: the simulee objects |
protected boolean |
useXLMStyleDifficulty
|
| Constructor Summary | |
|---|---|
StudentSimulator()
|
|
| Method Summary | |
|---|---|
SimulationReport |
createReport()
Create a Report using the results of the current simulation - the report calculates metrics for assessing the results of the simulation, like average errors and standard deviation etc. |
List |
getConcepts()
|
int |
getEvidenceCnt()
|
List |
getExercises()
|
String |
getSimBaseDir()
|
String |
getSimulationId()
|
int |
getSimuleeCnt()
|
Map |
getSimulees()
|
void |
init(String simulationId)
Initialize a new simulation |
boolean |
isAdaptiveDifficulty()
|
boolean |
isRerun()
|
boolean |
isUseContentDifficulties()
|
boolean |
isUseXLMStyleDifficulty()
|
void |
runSimulation()
Actually start the simulation, i.e. generate ExerciseSimulationEvents for all concepts applicable with the proper responses of the simulees. |
void |
setAdaptiveDifficulty(boolean adaptiveDifficulty)
|
void |
setConcepts(List concepts)
|
void |
setEvidenceCnt(int evidenceCnt)
|
void |
setExercises(List evidences)
|
void |
setRerun(boolean rerun)
|
void |
setSimBaseDir(String simBaseDir)
|
void |
setSimulationId(String simulationId)
|
void |
setSimuleeCnt(int simuleeCnt)
|
void |
setSimulees(Map simulees)
|
void |
setUseContentDifficulties(boolean useContentDifficulties)
|
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 static Logger log
protected boolean useXLMStyleDifficulty
protected String simBaseDir
protected String simulationId
protected boolean rerun
protected int simuleeCnt
protected int evidenceCnt
protected Map simulees
protected List concepts
protected List exercises
protected Map masteryEstimates
| Constructor Detail |
|---|
public StudentSimulator()
| Method Detail |
|---|
public void init(String simulationId)
public void runSimulation()
public SimulationReport createReport()
public int getSimuleeCnt()
public void setSimuleeCnt(int simuleeCnt)
simuleeCnt - the simuleeCnt to setpublic Map getSimulees()
public void setSimulees(Map simulees)
simulees - the simulees to setpublic String getSimulationId()
public void setSimulationId(String simulationId)
simulationId - the simulationId to setpublic List getConcepts()
public void setConcepts(List concepts)
concepts - the concepts to setpublic int getEvidenceCnt()
public void setEvidenceCnt(int evidenceCnt)
evidenceCnt - the evidenceCnt to setpublic List getExercises()
public void setExercises(List evidences)
evidences - the evidences to setpublic boolean isRerun()
public void setRerun(boolean rerun)
rerun - the rerun to setpublic String getSimBaseDir()
public void setSimBaseDir(String simBaseDir)
simBaseDir - the simBaseDir to setpublic boolean isUseXLMStyleDifficulty()
public void setUseXLMStyleDifficulty(boolean useXLMStyleDifficulty)
useXLMStyleDifficulty - the useXLMStyleDifficulty to setpublic boolean isAdaptiveDifficulty()
public void setAdaptiveDifficulty(boolean adaptiveDifficulty)
adaptiveDifficulty - the adaptiveDifficulty to setpublic boolean isUseContentDifficulties()
public void setUseContentDifficulties(boolean useContentDifficulties)
useContentDifficulties - the useContentDifficulties to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||