|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.studentmodel2.data.AffectiveModel
public class AffectiveModel
This class holds information about the motivations and affective states of a specific user.
| Nested Class Summary | |
|---|---|
static class |
AffectiveModel.Factor
Constants defining supported and modeled affective factors: intrinsic value perceived competence fear of failure attainment value |
| Field Summary | |
|---|---|
protected static Category |
log
|
String |
version
For XStream |
| Constructor Summary | |
|---|---|
AffectiveModel(String userId)
Constructs the motivational model for a user |
|
| Method Summary | |
|---|---|
double |
getAffectiveFactorValue(AffectiveModel.Factor factor)
|
double |
getMotivation()
|
String |
getUserId()
|
void |
handleResult(ExerciseResult result)
Updates the factors modeled for the user based on this result |
AffectiveModel |
initializeModel()
Sets initial values for the supported factors - should always be called after creation |
void |
setAffectiveFactorValue(AffectiveModel.Factor factor,
double value)
Sets the value of an affective factor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String version
protected static Category log
| Constructor Detail |
|---|
public AffectiveModel(String userId)
userId - | Method Detail |
|---|
public AffectiveModel initializeModel()
public String getUserId()
public double getAffectiveFactorValue(AffectiveModel.Factor factor)
factor -
public void setAffectiveFactorValue(AffectiveModel.Factor factor,
double value)
factor - value - public double getMotivation()
public void handleResult(ExerciseResult result)
result - The result/event happened
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||