Package ca.nengo.model.impl

Examples of ca.nengo.model.impl.AbstractNode


    notshared.add(three);
    notshared.add(four);
    notshared.add(two);
   
    Node[] nodes = new Node[3];
    nodes[0] = new AbstractNode("a", shared, new ArrayList<Termination>(1)) {
      private static final long serialVersionUID = 1L;

      @Override
      public void run(float startTime, float endTime)
          throws SimulationException {}

      @Override
      public void reset(boolean randomize) {}

      public Node[] getChildren() {
        return new Node[0];
      }

      public String toScript(HashMap<String, Object> scriptData) throws ScriptGenException {
        return "";
      }};   
    nodes[1] = new AbstractNode("b", shared, new ArrayList<Termination>(1)) {
      private static final long serialVersionUID = 1L;

      @Override
      public void run(float startTime, float endTime)
          throws SimulationException {}

      @Override
      public void reset(boolean randomize) {}

      public Node[] getChildren() {
        return new Node[0];
      }

      public String toScript(HashMap<String, Object> scriptData) throws ScriptGenException {
        return "";
      }};   
    nodes[2] = new AbstractNode("c", notshared, new ArrayList<Termination>(1)) {
      private static final long serialVersionUID = 1L;

      @Override
      public void run(float startTime, float endTime)
          throws SimulationException {}
View Full Code Here

TOP

Related Classes of ca.nengo.model.impl.AbstractNode

Copyright © 2018 www.massapicom. 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.