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 );