Examples of BKPoissonNeuron


Examples of cnslab.cnsnetwork.BKPoissonNeuron

    private static Network  createNetwork ( )
    ////////////////////////////////////////////////////////////////////////
    {
      final Seed  seed = new Seed ( -3 );
     
      final Neuron  neuron0 = new BKPoissonNeuron (
        seed,
        new BKPoissonNeuronPara ( ) );
     
      neuron0.setRecord ( true );
     
      final Neuron [ ]  neurons = new Neuron [ ] { neuron0, null };
     
      final Map<Integer, Axon>  axonMap = new HashMap<Integer, Axon> ( );
     
View Full Code Here

Examples of cnslab.cnsnetwork.BKPoissonNeuron

      throws Exception
    ////////////////////////////////////////////////////////////////////////
    {
      final Seed  seed = new Seed ( -3 );
     
      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 = new Seed ( -3 );
     
      final Network  network = new Network (
        simulatorParser.getModelFactory ( ),
        simulatorParser.getDiscreteEventQueue ( ),
        simulatorParser.getModulatedSynapseSeq ( ),       
        neurons,
        axonMap,
        0,      // minDelay
        simulatorParser,
        networkSeed );
     
      assertNull ( network.getFireEventSlot ( ) );
     
      network.initNet ( );
     
      assertNotNull ( network.getFireEventSlot ( ) );
     
      assertNull ( network.getFirstFireEvent ( ) );
     
      neuron0.init (
        0, // expId
        0, // trialId
        seed,
        network,
        1234 );
View Full Code Here

Examples of cnslab.cnsnetwork.BKPoissonNeuron

      throws Exception
    ////////////////////////////////////////////////////////////////////////
    {
      final Seed  seed = new Seed ( -3 );
     
      final Neuron  neuron0 = new BKPoissonNeuron (
          seed,
          new BKPoissonNeuronPara ( ) );
     
      final Neuron [ ]  neurons = new Neuron [ ] { neuron0 };
     
View Full Code Here

Examples of cnslab.cnsnetwork.BKPoissonNeuron

      throws Exception, jpvmException
    ////////////////////////////////////////////////////////////////////////
    {
      final Seed  seed = new Seed ( -3 );
     
      final Neuron  neuron0 = new BKPoissonNeuron (
          seed,
          new BKPoissonNeuronPara ( ) );
     
      final Neuron [ ]  neurons = new Neuron [ ] { neuron0, null };
     
View Full Code Here

Examples of cnslab.cnsnetwork.BKPoissonNeuron

    public static Network  createTestNetwork ( )
    ////////////////////////////////////////////////////////////////////////
    {
      final Seed  seed = createTestSeed ( );
     
      final Neuron  neuron0 = new BKPoissonNeuron (
        seed,
        new BKPoissonNeuronPara ( ) );
     
      final Neuron [ ]  neurons = new Neuron [ ] { neuron0 };
     
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.