BasicNetwork network = (BasicNetwork)pattern.generate();
MockTrain.setFirstElement(3.0,network);
MockTrain mock = new MockTrain();
mock.setNetwork(network);
Greedy strategy = new Greedy();
mock.addStrategy(strategy);
// simulate an improvement
mock.setError(0.01);
mock.simulate(0.04, 5.0);