//x, .3: varying x keeps time constant, changes adapted rate
// ALIFSpikeGenerator generator = new ALIFSpikeGenerator(.002f, .02f, .5f, .01f); //.2: .01 to .3 (150 to 20ms)
// SynapticIntegrator integrator = new LinearSynapticIntegrator(.001f, Units.ACU);
// PlasticExpandableSpikingNeuron neuron = new PlasticExpandableSpikingNeuron(integrator, generator, 15f, 0f, "alif");
ALIFNeuronFactory factory = new ALIFNeuronFactory(new IndicatorPDF(200, 400), new IndicatorPDF(-2.5f, -1.5f),
new IndicatorPDF(.1f, .1001f), .0005f, .02f, .2f);
// VectorGenerator vg = new RandomHypersphereVG(false, 1, 0);
// ApproximatorFactory factory = new WeightedCostApproximator.Factory(.1f);
// NEFEnsemble ensemble = new NEFEnsembleImpl("ensemble", new NEFNode[]{neuron}, new float[][]{new float[]{1}}, factory, vg.genVectors(100, 1));