org.activemath.studentmodel2.simulation
Class SimulationReport

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

public class SimulationReport
extends Object


Constructor Summary
SimulationReport()
          Default constructor, initializes some data structures...
 
Method Summary
 void calculateMetrics()
          Calculate metrics like avg. errors and std deviation etc.
 Double[] getAvgStepErr()
           
 Map getConceptErr()
           
 int getCorrectnessThreshold()
           
 int[] getMasteryDistribution()
           
 double[] getMasteryErrSum()
           
 double getMasteryErrSum(int mastery)
           
 int getMasteyCnt(int mastery)
           
 ErrorContainer getOverallErr()
           
 String getSimulationId()
           
 Map getSimuleeConceptEstimationErrors()
          Get the map containing all errors of the estimations of the LM simulation
data format:

key: simuleeId
value: Map with
key: conceptId
value: Integer[] with estimation errors for each step
 Map getSimulees()
           
 Map getUserConceptErr()
           
 Map getUserErr()
           
 void setAvgStepErr(Double[] avgStepErr)
           
 void setConceptErr(Map conceptErr)
           
 void setCorrectnessThreshold(int correctnessThreshold)
           
 void setMasteryDistribution(int[] masteryDistribution)
           
 void setMasteryErrSum(double[] masteryErrSum)
           
 void setOverallErr(ErrorContainer overallErr)
           
 void setSimulationId(String simulationId)
           
 void setSimuleeConceptEstimationErrors(Map simuleeConceptEstimationErrors)
           
 void setSimulees(Map simulees)
           
 void setUserConceptErr(Map userConceptErr)
           
 void setUserErr(Map userErr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulationReport

public SimulationReport()
Default constructor, initializes some data structures...

Method Detail

getMasteyCnt

public int getMasteyCnt(int mastery)

getMasteryErrSum

public double getMasteryErrSum(int mastery)

getAvgStepErr

public Double[] getAvgStepErr()
Returns:
the avgStepErr

setAvgStepErr

public void setAvgStepErr(Double[] avgStepErr)
Parameters:
avgStepErr - the avgStepErr to set

getSimuleeConceptEstimationErrors

public Map getSimuleeConceptEstimationErrors()
Get the map containing all errors of the estimations of the LM simulation
data format:

key: simuleeId
value: Map with
key: conceptId
value: Integer[] with estimation errors for each step

Returns:
the simuleeConceptEstimationErrors

setSimuleeConceptEstimationErrors

public void setSimuleeConceptEstimationErrors(Map simuleeConceptEstimationErrors)
Parameters:
simuleeConceptEstimationErrors - the simuleeConceptEstimationErrors to set

getSimulationId

public String getSimulationId()
Returns:
the simulationId

setSimulationId

public void setSimulationId(String simulationId)
Parameters:
simulationId - the simulationId to set

getSimulees

public Map getSimulees()
Returns:
the simulees

setSimulees

public void setSimulees(Map simulees)
Parameters:
simulees - the simulees to set

calculateMetrics

public void calculateMetrics()
Calculate metrics like avg. errors and std deviation etc.


getConceptErr

public Map getConceptErr()
Returns:
the conceptErr

setConceptErr

public void setConceptErr(Map conceptErr)
Parameters:
conceptErr - the conceptErr to set

getCorrectnessThreshold

public int getCorrectnessThreshold()
Returns:
the correctnessThreshold

setCorrectnessThreshold

public void setCorrectnessThreshold(int correctnessThreshold)
Parameters:
correctnessThreshold - the correctnessThreshold to set

getOverallErr

public ErrorContainer getOverallErr()
Returns:
the overallErr

setOverallErr

public void setOverallErr(ErrorContainer overallErr)
Parameters:
overallErr - the overallErr to set

getUserConceptErr

public Map getUserConceptErr()
Returns:
the userConceptErr

setUserConceptErr

public void setUserConceptErr(Map userConceptErr)
Parameters:
userConceptErr - the userConceptErr to set

getUserErr

public Map getUserErr()
Returns:
the userErr

setUserErr

public void setUserErr(Map userErr)
Parameters:
userErr - the userErr to set

getMasteryDistribution

public int[] getMasteryDistribution()
Returns:
the masteryDistribution

setMasteryDistribution

public void setMasteryDistribution(int[] masteryDistribution)
Parameters:
masteryDistribution - the masteryDistribution to set

getMasteryErrSum

public double[] getMasteryErrSum()
Returns:
the masteryErrSum

setMasteryErrSum

public void setMasteryErrSum(double[] masteryErrSum)
Parameters:
masteryErrSum - the masteryErrSum to set