Package cnslab.cnsnetwork

Examples of cnslab.cnsnetwork.SimulatorParser


     
      final Neuron [ ]  neurons = new Neuron [ ] { neuron0, null };
     
      final Map<Integer, Axon>  axonMap = new HashMap<Integer, Axon> ( );
     
      final SimulatorParser  simulatorParser = new SimulatorParser ( );
     
      final Seed  networkSeed = new Seed ( -4 );
     
      final Stimulus [ ]  stimuli = new Stimulus [ ] { };
     
      final SubExp [ ]  subexperiments = new SubExp [ ] {
        new SubExp (
          1, // repetition
          1.0, // trialLength
          stimuli,
          null ) }; // discreteEventCollection
     
      final Recorder  recorder = new Recorder (
        simulatorParser,
        false ); // plot
     
      final Experiment  experiment = new Experiment (
        subexperiments,
        recorder );
     
      final JpvmInfo  jpvmInfo = new JpvmInfo ( );
     
      jpvmInfo.numTasks = 1;
     
      final jpvmTaskId
        parentJpvmTaskId = new jpvmTaskId ( "localhost", 1968 );
     
      jpvmInfo.parentJpvmTaskId = parentJpvmTaskId;
     
      final Network  network = new Network (
        simulatorParser.getModelFactory ( ),
        simulatorParser.getDiscreteEventQueue ( ),
        simulatorParser.getModulatedSynapseSeq ( ),
        neurons,
        axonMap,
        jpvmInfo, // info
        0,    // base
        0,    // minDelay
View Full Code Here


     
      final Neuron [ ]  neurons = new Neuron [ ] { neuron0 };
     
      final Map<Integer, Axon>  axonMap = new HashMap<Integer, Axon> ( );
     
      final SimulatorParser  simulatorParser = new SimulatorParser ( );
     
      final Seed  networkSeed = createTestSeed ( );
     
      final Network  network = new Network (
        simulatorParser.getModelFactory ( ),
        simulatorParser.getDiscreteEventQueue ( ),
        simulatorParser.getModulatedSynapseSeq ( ),
        neurons,
        axonMap,
        0, // minDelay
        simulatorParser,
        networkSeed );
View Full Code Here

        thinlet.setString (
          thinlet.find ( "showProgress" ),
          "text",
          "" );
       
        final SimulatorParser
          sim = new SimulatorParser (
            new Seed ( -1 ),
            new File (
              "model/" + thinlet.getString (
                thinlet.getSelectedItem ( thinlet.find ( "xmlModles" ) ),
                "text" ) ) );
       
        sim.parseMapCells ( );
       
        // System.out.println(sim.outFile);
       
        new Thread (
          new ContentProcessResult2 (
View Full Code Here

        != null )
      {
        // System.out.println(
        //   getString(getSelectedItem(find("xmlModles")),"text"));
       
        final SimulatorParser
          simulatorParser = new SimulatorParser ( );
       
        final String
          out = simulatorParser.validate (
            thinlet.getString (
              thinlet.getSelectedItem ( thinlet.find ( "xmlModles" ) ),
              "text" ) );
       
        LOGGER.debug ( "parser validation output:  {}", out );
View Full Code Here

TOP

Related Classes of cnslab.cnsnetwork.SimulatorParser

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.