Simulation of learning networks