* Adjusts weights for the winning neuron
*/
protected void adjustWeights() {
// find active neuron in output layer
// TODO : change idx, in general case not 1
CompetitiveNeuron winningNeuron = ((CompetitiveLayer) neuralNetwork
.getLayerAt(1)).getWinner();
Vector<Connection> inputConnections = winningNeuron
.getConnectionsFromOtherLayers();
for(Connection connection : inputConnections) {
double weight = connection.getWeight().getValue();
double input = connection.getInput();