question: private void initializeLayer ( List < Neuron > layer , NeuronUpdateRule nodeType , int nodes ) { for ( int i = 0 ; i < nodes ; i ++ ) { Neuron node = new Neuron ( getParentNetwork ( ) , nodeType ) ; layer . add ( node ) ; } }
target:  Helper method to initialize a layer by adding the desired number of neurons with the desired neuron update rule.