org.activemath.studentmodel2.simulation
Class Simulee

java.lang.Object
  extended by org.activemath.studentmodel2.simulation.Simulee

public class Simulee
extends Object

This class defines a simulated student (referred to as simulee). It provides information about the real mastery for concepts. In future possibly other variables like motivation etc.


Constructor Summary
Simulee()
           
 
Method Summary
 Map getCompetencies()
           
 int getCompetencyMastery(String conceptId, String competencyId)
          Return the mastery for a competency given a specific concept
 int getConceptMastery(String conceptId)
          Return the mastery for a concept
 String getSimuleeId()
           
 boolean hasMastery(String conceptId)
          Check whether a mastery for a concept is available
 void setCompetencies(Map competencies)
           
 void setCompetencyMastery(String conceptId, String competencyId, int mastery)
           
 void setConceptMastery(String conceptId, int mastery)
          Set the mastery for a concept
 void setSimuleeId(String simuleeId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Simulee

public Simulee()
Method Detail

getConceptMastery

public int getConceptMastery(String conceptId)
Return the mastery for a concept

Parameters:
conceptId - - for which concept
Returns:
- The aggregated mastery over all competencies

setConceptMastery

public void setConceptMastery(String conceptId,
                              int mastery)
Set the mastery for a concept

Parameters:
conceptId - - for which concept
mastery - - The aggregated mastery over all competencies

getCompetencyMastery

public int getCompetencyMastery(String conceptId,
                                String competencyId)
Return the mastery for a competency given a specific concept

Parameters:
conceptId - - for which concept
competencyId - - for which competency
Returns:
- The mastery [0,100] for the competency of the concept

setCompetencyMastery

public void setCompetencyMastery(String conceptId,
                                 String competencyId,
                                 int mastery)

hasMastery

public boolean hasMastery(String conceptId)
Check whether a mastery for a concept is available

Parameters:
conceptId - - the concept to check for
Returns:
- True iff a mastery is assigned for the concept

getCompetencies

public Map getCompetencies()
Returns:
the competencies

setCompetencies

public void setCompetencies(Map competencies)
Parameters:
competencies - the competencies to set

getSimuleeId

public String getSimuleeId()
Returns:
the simuleeId

setSimuleeId

public void setSimuleeId(String simuleeId)
Parameters:
simuleeId - the simuleeId to set