stepExperiment :: IExperiment -> Double -> <Proc> ()
simulateExperiment :: IExperiment -> Boolean -> <Proc> ()
disposeExperiment :: IExperiment -> <Proc> ()
- possibleActiveRunVariable ::Resource -> <ReadGraph> Variable
+ refreshExperiment :: IExperiment -> <ReadGraph> ()
+ getExperimentState :: IExperiment -> <ReadGraph> ExperimentState
+ possibleActiveRunVariable ::Resource -> <ReadGraph> Maybe Variable
+ activateExperiment :: Resource -> <WriteGraph> Resource
+ createExperimentRun :: Resource -> <WriteGraph> Resource
+ createExperimentRunWithType :: Resource -> Resource -> <WriteGraph> Resource
+ activateRun :: Resource -> <WriteGraph> ()
importJava "org.simantics.simulation.experiment.IExperiment" where
data IExperiment
+
+importJava "org.simantics.simulation.experiment.ExperimentState" where
+ data ExperimentState
+ INITIALIZING, RUNNING, STOPPED, DISPOSED :: ExperimentState
experimentFromRun :: Variable -> <ReadGraph> IExperiment
experimentFromRun run = (run#iExperiment) :: IExperiment
\ No newline at end of file