Package cnslab.cnsmath

Examples of cnslab.cnsmath.Seed


    }
   
    public static Network  createTestNetwork ( )
    ////////////////////////////////////////////////////////////////////////
    {
      final Seed  seed = createTestSeed ( );
     
      final Neuron  neuron0 = new BKPoissonNeuron (
        seed,
        new BKPoissonNeuronPara ( ) );
     
      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 ( ),
View Full Code Here


    }
   
    public static Seed  createTestSeed ( )
    ////////////////////////////////////////////////////////////////////////
    {
      return new Seed ( -3 );
    }
View Full Code Here

       
        // double tmp_firetime;
       
        // boolean isFire;
       
        final Seed  seed = network.seed;
       
        network.p.println ( "seed " + seed.seed );
       
        // network.saveSeed = network.idum.seed;
        // synchronized (synLock)
View Full Code Here

          "text",
          "" );
       
        final SimulatorParser
          sim = new SimulatorParser (
            new Seed ( -1 ),
            new File (
              "model/" + thinlet.getString (
                thinlet.getSelectedItem ( thinlet.find ( "xmlModles" ) ),
                "text" ) ) );
       
View Full Code Here

TOP

Related Classes of cnslab.cnsmath.Seed

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.