Assert.assertTrue(network.getStructure().isConnectionLimited());
Assert.assertEquals(0.0, network.getStructure().getFlat().getWeights()[0], 0.01);
Assert.assertEquals(0.0, network.getStructure().getFlat().getWeights()[1], 0.01);
rprop.iteration();
rprop.iteration();
rprop.iteration();
rprop.iteration();
// these connections were removed, and should not have been "trained"
Assert.assertEquals(0.0, network.getStructure().getFlat().getWeights()[0], 0.01);
Assert.assertEquals(0.0, network.getStructure().getFlat().getWeights()[1], 0.01);