|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.activemath.studentmodel2.SatelliteHelper
public class SatelliteHelper
This class automatically extracts and caches relations between Satellite Items and concepts/other satellites. Relations are extracted on demand and then cached, similarly as in the PropagationHelper class. TODO: add listener process to invalidate cached objects upon changes in the content
| Field Summary | |
|---|---|
protected static Category |
log
|
| Method Summary | |
|---|---|
List<String> |
getFors(String satelliteId)
Get a cyclic-free version of fors for the satellite |
static SatelliteHelper |
getInstance()
Get an instance of the SatelliteHelper |
int |
getSatelliteMastery(String itemId,
AssessmentModel assessmentModel)
Get the mastery for a specific satellite (it is calculated by averaging all existing contributing masteries) |
Map<String,Integer> |
getSatelliteMasteryComponents(String itemId,
AssessmentModel assessmentModel)
Get all concepts with their masteries, which contribute to the given satellite mastery |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Category log
| Method Detail |
|---|
public static SatelliteHelper getInstance()
public List<String> getFors(String satelliteId)
satelliteId - -
the satellite
public int getSatelliteMastery(String itemId,
AssessmentModel assessmentModel)
itemId - - ID of the satelliteassessmentModel - - The assessmentModel of a user
public Map<String,Integer> getSatelliteMasteryComponents(String itemId,
AssessmentModel assessmentModel)
itemId - - the satelliteIdassessmentModel - - the assessment model of the respective user to calculate
the masteries for
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||