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