Package ca.nengo.ui.actions

Examples of ca.nengo.ui.actions.RunSimulatorAction.doAction()


        UINetwork selectedNetwork = UINetwork.getClosestNetwork(selectedNode);
        if (selectedNetwork != null) {

            RunSimulatorAction runAction = new RunSimulatorAction("run", selectedNetwork);
            runAction.doAction();

        } else {
            throw new ActionException("No parent network to run, please select a node");
        }
    }
View Full Code Here


  }

  private void doPostUIStuff() {
    RunSimulatorAction simulatorRunner = new RunSimulatorAction("Run",
        network, 0f, 1f, 0.0002f);
    simulatorRunner.doAction();

    NengoGraphics.getInstance().setDataViewerPaneVisible(true);
  }

  // private UIStateProbe integratorProbe;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.