org.activemath.webapp.slmgui
Class SimulationController
java.lang.Object
org.infohazard.maverick.ctl.Throwaway2
org.infohazard.maverick.ctl.ThrowawayBean2
org.activemath.webapp.base.ControllerBase
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.
| 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
useXLMStyleDifficulty
protected boolean useXLMStyleDifficulty
SimulationController
public SimulationController()
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