org.activemath.webapp.slmgui
Class SimulationController

java.lang.Object
  extended by org.infohazard.maverick.ctl.Throwaway2
      extended by org.infohazard.maverick.ctl.ThrowawayBean2
          extended by org.activemath.webapp.base.ControllerBase
              extended by org.activemath.webapp.slmgui.SimulationController
All Implemented Interfaces:
Controller

public class SimulationController
extends ControllerBase

The GUIController for running simulations to evaluate learner models - rerun evaluations with different learner models.


Field Summary
protected  boolean useXLMStyleDifficulty
           
 
Fields inherited from class org.activemath.webapp.base.ControllerBase
appContext, defaultContentType, JSON, log, REDIRECT, REDIRECT_LOGIN, request, response, stopwatch
 
Fields inherited from class org.infohazard.maverick.ctl.Throwaway2
ERROR, SUCCESS
 
Constructor Summary
SimulationController()
           
 
Method Summary
protected  String action()
          This is the method you should override to implement application logic.
 String getAction()
           
 void setAction(String action)
           
 void setAdaptiveDifficulty(boolean value)
           
 void setAvailableSimulations(List availableSimulations)
           
 void setBeliefModelId(String beliefModelId)
           
 void setBlindSpotWhidth(double blindSpotWhidth)
           
 void setButton(String button)
           
 void setDiscriminationValue(double discriminationValue)
           
 void setEvidenceCnt(int evidenceCnt)
           
 void setInformationRadius(double informationRadius)
           
 void setLearnerModel(String learnerModel)
           
 void setPropagationDepth(int propagationDepth)
           
 void setSendBeliefUpdate(boolean value)
           
 void setSimulationId(String simulationId)
           
 void setSimuleeCnt(int simuleeCnt)
           
 void setUseAdaptiveIR(boolean useAdaptiveIR)
           
 void setUseContentDifficulties(boolean useContentDifficulties)
           
 void setUseUpwardPropagation(boolean useUpwardPropagation)
           
 void setUseXLMStyleDifficulty(boolean value)
           
 
Methods inherited from class org.activemath.webapp.base.ControllerBase
addError, addError, enableNoCache, escapeForHtmlSafety, getAccountManager, getAppSession, getCmdName, getCurrentUser, getErrors, getHttpSession, getLanguage, getModel, getOutputFormat, getRequest, getResponse, getSkin, hasErrors, perform, publishControllerEvent, sendError, sendError, sendJson, sendLoginRequired, sendRedirect, sendRedirect, setPasswd, setUser
 
Methods inherited from class org.infohazard.maverick.ctl.ThrowawayBean2
go
 
Methods inherited from class org.infohazard.maverick.ctl.Throwaway2
getCtx, go
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

useXLMStyleDifficulty

protected boolean useXLMStyleDifficulty
Constructor Detail

SimulationController

public SimulationController()
Method Detail

action

protected String action()
                 throws Exception
Description copied from class: ControllerBase
This is the method you should override to implement application logic.

Overrides:
action in class ControllerBase
Throws:
Exception

setAvailableSimulations

public void setAvailableSimulations(List availableSimulations)
Parameters:
availableSimulations - the availableSimulations to set

setEvidenceCnt

public void setEvidenceCnt(int evidenceCnt)
Parameters:
evidenceCnt - the evidenceCnt to set

setSimulationId

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

setSimuleeCnt

public void setSimuleeCnt(int simuleeCnt)
Parameters:
simuleeCnt - the simuleeCnt to set

setBeliefModelId

public void setBeliefModelId(String beliefModelId)
Parameters:
beliefModelId - the beliefModelId to set

setPropagationDepth

public void setPropagationDepth(int propagationDepth)
Parameters:
propagationDepth - the propagationDepth to set

setUseUpwardPropagation

public void setUseUpwardPropagation(boolean useUpwardPropagation)
Parameters:
useUpwardPropagation - the useUpwardPropagation to set

setButton

public void setButton(String button)
Parameters:
button - the button to set

getAction

public String getAction()
Returns:
the action

setAction

public void setAction(String action)
Parameters:
action - the action to set

setUseXLMStyleDifficulty

public void setUseXLMStyleDifficulty(boolean value)
Parameters:
useXLMStyleDifficulty - the useXLMStyleDifficulty to set

setSendBeliefUpdate

public void setSendBeliefUpdate(boolean value)
Parameters:
sendBeliefUpdate - the sendBeliefUpdate to set

setLearnerModel

public void setLearnerModel(String learnerModel)
Parameters:
learnerModel - the learnerModel to set

setDiscriminationValue

public void setDiscriminationValue(double discriminationValue)
Parameters:
discriminationValue - the discriminationValue to set

setBlindSpotWhidth

public void setBlindSpotWhidth(double blindSpotWhidth)
Parameters:
blindSpotWhidth - the blindSpotWhidth to set

setInformationRadius

public void setInformationRadius(double informationRadius)
Parameters:
informationRadius - the informationRadius to set

setAdaptiveDifficulty

public void setAdaptiveDifficulty(boolean value)
Parameters:
adaptiveDifficulty - the adaptiveDifficulty to set

setUseContentDifficulties

public void setUseContentDifficulties(boolean useContentDifficulties)
Parameters:
useContentDifficulties - the useContentDifficulties to set

setUseAdaptiveIR

public void setUseAdaptiveIR(boolean useAdaptiveIR)
Parameters:
useAdaptiveIR - the useAdaptiveIR to set