|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.learner.model.NoOpLM
public class NoOpLM
implementation of LearnerModelInterface that always answers default values.
| Field Summary |
|---|
| Fields inherited from interface org.activemath.learner.model.LearnerModelInterface |
|---|
MASTERY_MAX, MASTERY_MIN, MASTERY_UNKNOWN |
| Constructor Summary | |
|---|---|
NoOpLM()
|
|
| Method Summary | |
|---|---|
boolean |
createModel(String userId)
|
boolean |
destroyModel(String userId)
|
boolean |
existsModel(String userId)
|
CompetencyLevel |
getCompetencyLevel(String userId,
String contentId)
Must return the competency level of the given user on the specified content item. |
CompetencyLevel |
getCompetencyLevel(String userId,
String contentId,
Competency competency)
Must return the competency level of the given user on the given content item,
with respect to the specified Competency. |
CompetencyLevel |
getCompetencyLevelByCompetencySystem(String userId,
String contentId,
String competencyId,
String competencySystemId)
Same as getCompetencyLevel(String userId, String contentId),
just that a specific competency system can be supplied relative to which the
competency level is returned |
int |
getKnowledgeValue(String userId,
String contentId)
Must return a value in [0..100] (0=worst, 100=best) describing the given user's knowledge about the specified content. |
int |
getKnowledgeValueByCompetencySystem(String userId,
String contentId,
String competency,
String competencySystemId)
Same as getKnowledgeValue(String userId, String contentId),
just that a specific competency system can be supplied relative and a competency
to which the knowledge value is returned. |
int[] |
getKnowledgeValues(String userId,
List listOfContentIds)
Must return an array of values in [0..100] as described in LearnerModelInterface.getKnowledgeValue(String, String), where
returnedArray[i] = getKnowledgeValue(userId, listOfContentIds.get(i). |
String |
getName()
Return name of the learner model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NoOpLM()
| Method Detail |
|---|
public String getName()
LearnerModelInterface
getName in interface LearnerModelInterface
public int getKnowledgeValue(String userId,
String contentId)
LearnerModelInterface
getKnowledgeValue in interface LearnerModelInterfaceuserId - The id of the user to get the knowledge value ofcontentId - The id of the piece of content to get the knowledge value of.
public int[] getKnowledgeValues(String userId,
List listOfContentIds)
LearnerModelInterfaceLearnerModelInterface.getKnowledgeValue(String, String), where
returnedArray[i] = getKnowledgeValue(userId, listOfContentIds.get(i).
getKnowledgeValues in interface LearnerModelInterfaceuserId - The id of the user to get the knowledge values oflistOfContentIds - a List containing the ids of the pieces of content to get the knowledge value of
public CompetencyLevel getCompetencyLevel(String userId,
String contentId)
LearnerModelInterfacecompetency level of the given user on the specified content item.
getCompetencyLevel in interface LearnerModelInterfaceuserId - The user to get the competency level ofcontentId - The id of the content item to get the competency level of
public CompetencyLevel getCompetencyLevel(String userId,
String contentId,
Competency competency)
LearnerModelInterfacecompetency level of the given user on the given content item,
with respect to the specified Competency.
getCompetencyLevel in interface LearnerModelInterfaceuserId - The id of the user to get the competency level ofcontentId - The if of the piece of content to get the competency level ofcompetency - The target competency
public boolean createModel(String userId)
createModel in interface LearnerModelInterfacepublic boolean destroyModel(String userId)
destroyModel in interface LearnerModelInterfacepublic boolean existsModel(String userId)
existsModel in interface LearnerModelInterface
public CompetencyLevel getCompetencyLevelByCompetencySystem(String userId,
String contentId,
String competencyId,
String competencySystemId)
LearnerModelInterfacegetCompetencyLevel(String userId, String contentId),
just that a specific competency system can be supplied relative to which the
competency level is returned
getCompetencyLevelByCompetencySystem in interface LearnerModelInterfaceuserId - The id of the user to get the competency level ofcontentId - The if of the piece of content to get the competency level ofcompetencySystemId - - the Id of the competency system for which the
knowledge values (KV) shall be returned, e.g. return the KVs for "apply" and "model"
competencies of the PISA system - competencySystemId would hold "PISA".
public int getKnowledgeValueByCompetencySystem(String userId,
String contentId,
String competency,
String competencySystemId)
LearnerModelInterfacegetKnowledgeValue(String userId, String contentId),
just that a specific competency system can be supplied relative and a competency
to which the knowledge value is returned.
getKnowledgeValueByCompetencySystem in interface LearnerModelInterfaceuserId - The id of the user to get the knowledge value ofcontentId - The id of the piece of content to get the knowledge value of.competency - The target competencycompetencySystemId - - the Id of the competency system for which the
knowledge values (KV) shall be returned, e.g. return the KVs for "apply" and "model"
competencies of the PISA system - competencySystemId would hold "PISA".
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||