|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.studentmodel2.data.AssessmentModel
public class AssessmentModel
This class represents the assessment part of the new, simple student model.
It contains an AssessmentCluster which manages the assessments.
| Field Summary | |
|---|---|
protected static Category |
log
|
String |
version
for XStream |
| Constructor Summary | |
|---|---|
AssessmentModel(String userId)
|
|
| Method Summary | |
|---|---|
Map<CognitiveProcess,Integer> |
getAssessmentMap(String conceptId)
Get the mastery map for a concept. |
ConceptAssessment |
getConceptAssessment(String conceptId)
Get the ConceptAssessment for a specific concept |
List<Evidence> |
getDirectEvidence(String conceptId)
Get a list of relevant direct evidences for a concept |
List<Evidence> |
getIndirectEvidence(String conceptId)
Get a list of relevant indirect evidences for a concept |
List<String> |
getLastExercises(String conceptId)
Get the last exercises the user has done |
long |
getLastStoredTime()
|
double |
getMastery()
|
double |
getMastery(Collection<String> conceptIds)
Get the (average) mastery for a set of concepts |
int |
getMastery(String conceptId)
Get the mastery for a concept NB: This method is an absolute hotspot for the whole application!! |
int |
getMastery(String conceptId,
CognitiveProcess cognitiveProcess,
CompetencySystem targetCompetencySystem)
Return mastery in a (translated) competency system |
Map<String,Integer> |
getMasteryComponents(String satelliteId)
Returns a map of conceptId -> mastery value. |
List<String> |
getMisconceptions()
|
String |
getUserId()
Get the userId this model is for |
boolean |
hasMisconception(String misconception)
|
void |
init()
After-constructor initialisation. |
void |
removeMisconceptions(List<String> nonMisconceptions)
Remove misconceptions that could be associated with this exerciseResult |
void |
setLastStoredTime(long value)
|
void |
setMisconceptions(List<String> misconceptions)
|
void |
tellMisconception(List<String> misconceptions)
Add misconceptions the exercise system diagnosed for this user |
void |
updateAssessment(String conceptId,
Collection<CognitiveProcess> processes)
Update the mastery for a given concept/cogn. process combination. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Category log
public String version
| Constructor Detail |
|---|
public AssessmentModel(String userId)
| Method Detail |
|---|
public void init()
public void setLastStoredTime(long value)
public long getLastStoredTime()
public double getMastery()
public double getMastery(Collection<String> conceptIds)
conceptIds -
public int getMastery(String conceptId)
conceptId - - the mbaseId of the concept
public int getMastery(String conceptId,
CognitiveProcess cognitiveProcess,
CompetencySystem targetCompetencySystem)
conceptId - cognitiveProcess - competencySystem -
public String getUserId()
public List<String> getLastExercises(String conceptId)
conceptId - - the mbaseId of the concept
public List<Evidence> getDirectEvidence(String conceptId)
conceptId - - the mbaseId of the concept
public List<Evidence> getIndirectEvidence(String conceptId)
conceptId - - the mbaseId of the concept
public Map<String,Integer> getMasteryComponents(String satelliteId)
satelliteId.
Map associating conceptIds to their corresponding
mastery values.SatelliteHelperpublic void tellMisconception(List<String> misconceptions)
misconceptions - -
the list of misconceptionspublic List<String> getMisconceptions()
public void setMisconceptions(List<String> misconceptions)
misconceptions - the misconceptions to setpublic void removeMisconceptions(List<String> nonMisconceptions)
nonMisconcetions - -
a List of Misconceptions the user does not havepublic ConceptAssessment getConceptAssessment(String conceptId)
conceptId - -
the mBaseId of the concept to get the assessment for
public Map<CognitiveProcess,Integer> getAssessmentMap(String conceptId)
conceptId - - the mbaseId of the concept
public void updateAssessment(String conceptId,
Collection<CognitiveProcess> processes)
conceptId - - the affected concept (mBaseID)processes - - List of cognitive processes to be updatedpublic boolean hasMisconception(String misconception)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||