Online learning control by association and reinforcement | Synapse