1. A method of learning in a spiking neural network, comprising: modeling resources associated with synapses of the spiking neural network using a defined domain; modulating changes of a weight associated with one of the synapses for multiple spike events upon a single trigger related to that synapse; and updating, in the defined domain, one of the resources associated with that synapse based on the multiple spike events upon the single trigger.