private ArrayList<Neuron> initializeLayer(NeuronUpdateRule nodeType,int nodes){
  ArrayList<Neuron> layer=new ArrayList<Neuron>(nodes);
  for (int i=0; i < nodes; i++) {
    Neuron node=new Neuron(getParentNetwork(),nodeType);
    nodeType.setIncrement(1);
    layer.add(node);
  }
  return layer;
}

private ArrayList < Neuron > initializeLayer ( NeuronUpdateRule nodeType , int nodes ) { ArrayList < Neuron > layer = new ArrayList < Neuron > ( nodes ) ; for ( int i = 0 ; i < nodes ; i ++ ) { Neuron node = new Neuron ( getParentNetwork ( ) , nodeType ) ; nodeType . setIncrement ( 1 ) ; layer . add ( node ) ; } return layer ; }
fills and returns an arraylist with neurons governed by the specified node type .
