protected void wireAllLayers() {
		LayerIterator iter = new LayerIterator(this);
		List<? extends Neuron> inputLayer;
		List<? extends Neuron> outputLayer = iter.next();
		while (iter.hasNext()) {
			inputLayer = outputLayer;
			outputLayer = iter.next();
			wireLayers(inputLayer, outputLayer);
		}
	}