FeedForwardPattern pattern = new FeedForwardPattern();
pattern.setInputNeurons(1);
pattern.setOutputNeurons(1);
BasicNetwork network = (BasicNetwork)pattern.generate();
ResetStrategy strategy = new ResetStrategy(0.95,2);
MockTrain mock = new MockTrain();
mock.setNetwork(network);
mock.addStrategy(strategy);
mock.setError(0.07);
MockTrain.setFirstElement(30.0,network);