1 import "Simantics/Variables"
3 importJava "org.simantics.simulation.experiment.ExperimentUtil" where
5 simulate :: Boolean -> <Proc> ()
6 stepExperiment :: IExperiment -> Double -> <Proc> ()
7 simulateExperiment :: IExperiment -> Boolean -> <Proc> ()
8 disposeExperiment :: IExperiment -> <Proc> ()
9 refreshExperiment :: IExperiment -> <ReadGraph> ()
10 getExperimentState :: IExperiment -> <ReadGraph> ExperimentState
11 possibleActiveRunVariable ::Resource -> <ReadGraph> Maybe Variable
12 activateExperiment :: Resource -> <WriteGraph> Resource
13 createExperimentRun :: Resource -> <WriteGraph> Resource
14 createExperimentRunWithType :: Resource -> Resource -> <WriteGraph> Resource
15 activateRun :: Resource -> <WriteGraph> ()
17 importJava "org.simantics.simulation.experiment.IExperiment" where
20 importJava "org.simantics.simulation.experiment.ExperimentState" where
22 INITIALIZING, RUNNING, STOPPED, DISPOSED :: ExperimentState
24 experimentFromRun :: Variable -> <ReadGraph> IExperiment
25 experimentFromRun run = (run#iExperiment) :: IExperiment