Apparatus for detecting a change in an input stream via sensing events to a first spiking neural network for one of a control, detection and classification application, the apparatus comprising a special purpose processor and an associated memory, the special purpose processor for executing a special purpose stored program for the one of the control, detection and classification applications, the apparatus further comprising:
- the first spiking neural network constructed in one of the memory and a dynamic artificial neural network array, the first spiking neural network comprising at least one input neuron and at least one output neuron, each neuron having a threshold parameter;
- at least one synapse connecting a pair of neurons of the first spiking neural network, the synapse having a parameter that specifies a propagation delay through the synapse, the synapse permitting at least two discrete events to propagate together through the synapse connecting one neuron to another neuron,
- the first spiking neural network being connected to at least one affective system, the affective system altering the behavior of the first spiking neural network;
- the special purpose processor executing the special purpose stored program for simulating the first spiking neural network and connected at least one affective system to produce at least one output event at the at least one output neuron in response to the input stream of sensed events;
- and
- the special purpose processor for executing evolutionary optimization of the first spiking neural network comprising a crossover operation, the crossover operation comprising a selection of first and second parent neural networks, selection of two neurons from one of the first and the second selected parent neural networks, choosing a plane using locations of the two selected neurons and using a signed distance from the chose plane to a third neuron from the at least one selected parent network to construct a new spiking neural network having a different structure of neurons than the first spiking neural network.