Skip to content

socr.controller interface

selvam1991 edited this page Feb 25, 2013 · 1 revision

Private functions

_ generate()

This function generates 1000 resamples by calling the generateSample() of model.

Public functions

initialize()

Initializes the app..binds all the buttons...create the show slider

step()

It generates 1 random sample with animation effect showing the generation.

run()

It generates X random sample with animation effect showing the generation.

stop()

It resets the setInterval for _generate() ans halts the random sample generation immediately.

reset()

It resets the application by clearing the appModel and appView.

setDotplot()

loadController()

Clone this wiki locally