}
@Test
public void testAnneal() throws Throwable
{
MLDataSet trainingData = new BasicMLDataSet(XOR.XOR_INPUT,XOR.XOR_IDEAL);
BasicNetwork network = NetworkUtil.createXORNetworkUntrained();
CalculateScore score = new TrainingSetScore(trainingData);
NeuralSimulatedAnnealing anneal = new NeuralSimulatedAnnealing(network,score,10,2,100);
NetworkUtil.testTraining(trainingData,anneal,0.01);
}