|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.studentmodel2.LearnerModel
public class LearnerModel
A Simple Student model that only takes exercise performance in consideration and does some propagation of evidence.
| Field Summary | |
|---|---|
protected static Logger |
log
|
| Method Summary | |
|---|---|
boolean |
destroyModel(String userId)
|
boolean |
existsModel(String userId)
|
Map<CognitiveProcess,Integer> |
getAssessmentDetails(String learnerId,
String conceptId)
|
String |
getBeliefModelId()
|
List<String> |
getContributingConcepts(String itemId)
|
List<Evidence> |
getDirectEvidence(String learnerId,
String conceptId)
|
List<Evidence> |
getIndirectEvidence(String learnerId,
String conceptId)
|
static LearnerModel |
getInstance()
|
ActivemathEventListener |
getListener()
|
int |
getMastery(String userId)
|
double |
getMastery(String userId,
Collection<String> conceptIds)
|
int |
getMastery(String userId,
String conceptId)
|
int |
getMastery(String userId,
String conceptId,
CognitiveProcess cognitiveProcess,
CompetencySystem competencySystem)
|
int |
getMastery(String userId,
String conceptId,
Competency competency)
|
Map<String,Integer> |
getMasteryComponents(String learnerId,
String satelliteId)
|
AssessmentModel |
getModel(String userId)
Get the AssessmentModel for a user |
int |
getPropagationDepth()
|
List<String> |
getUnderlyingExercises(String learnerId,
String conceptId)
|
boolean |
hasMisconception(String userId,
String misconception)
|
void |
initModel(String userId)
Load/create the model for a user. |
boolean |
isPersistenceEnabled()
|
boolean |
isSendBeliefUpdate()
Should the learner model issue belief update Events? |
boolean |
isUseUpwardPropagation()
|
void |
removeMisconceptions(String userId,
List<String> nonMisconceptions)
Remove Misconceptions of a user |
void |
setBeliefModelId(String beliefModelId)
|
void |
setPersistenceEnabled(boolean enabled)
|
void |
setPropagationDepth(int propagationDepth)
|
void |
setSendBeliefUpdate(boolean sendBeliefUpdate)
Should the learner model issue belief update Events? |
void |
setUseUpwardPropagation(boolean useUpwardPropagation)
|
void |
storeModel(String userId)
Persist the model for a user. |
void |
tellMisconceptions(String userId,
List<String> misconceptions)
Add misconceptions to the user's model |
void |
updateAssessment(String userId,
String conceptId,
Collection<CognitiveProcess> competencies)
Start an update of Mastery values for a given user/concept/competency triple. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Logger log
| Method Detail |
|---|
public static LearnerModel getInstance()
public ActivemathEventListener getListener()
public int getMastery(String userId)
userId -
public int getMastery(String userId,
String conceptId)
public double getMastery(String userId,
Collection<String> conceptIds)
public int getMastery(String userId,
String conceptId,
Competency competency)
public int getMastery(String userId,
String conceptId,
CognitiveProcess cognitiveProcess,
CompetencySystem competencySystem)
public void initModel(String userId)
public void storeModel(String userId)
public boolean destroyModel(String userId)
public boolean existsModel(String userId)
public void tellMisconceptions(String userId,
List<String> misconceptions)
userId - - id of the usermisconceptions - - list of conceptions diagnosed by the exercise system
public void removeMisconceptions(String userId,
List<String> nonMisconceptions)
userId - - id of the userr - - the exerciseResult
public boolean hasMisconception(String userId,
String misconception)
public AssessmentModel getModel(String userId)
userId - - the ID of the user
public void updateAssessment(String userId,
String conceptId,
Collection<CognitiveProcess> competencies)
userId - - the user's IDconceptId - - the concept to be updatedcompetencies - - List of competencies to be updatedpublic int getPropagationDepth()
public void setPropagationDepth(int propagationDepth)
propagationDepth - the propagationDepth to setpublic String getBeliefModelId()
public void setBeliefModelId(String beliefModelId)
beliefModelId - the beliefModelId to setpublic boolean isUseUpwardPropagation()
public void setUseUpwardPropagation(boolean useUpwardPropagation)
useUpwardPropagation - the useUpwardPropagation to setpublic boolean isSendBeliefUpdate()
public void setSendBeliefUpdate(boolean sendBeliefUpdate)
sendBeliefUpdate - the sendBeliefUpdate to setpublic boolean isPersistenceEnabled()
setPersistenceEnabled(boolean)public void setPersistenceEnabled(boolean enabled)
enabled - Whether to load/save learner models (use persistence model)public List<String> getContributingConcepts(String itemId)
public List<String> getUnderlyingExercises(String learnerId,
String conceptId)
public List<Evidence> getDirectEvidence(String learnerId,
String conceptId)
public List<Evidence> getIndirectEvidence(String learnerId,
String conceptId)
public Map<String,Integer> getMasteryComponents(String learnerId,
String satelliteId)
public Map<CognitiveProcess,Integer> getAssessmentDetails(String learnerId,
String conceptId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||