public NeuronGroup(final Network net,final List<Neuron> neurons){
  super(net);
  neuronList=new ArrayList<Neuron>(neurons.size());
  for (  Neuron neuron : neurons) {
    addNeuron(neuron);
  }
  neuronList=new CopyOnWriteArrayList<Neuron>(neuronList);
  updateRule=getNeuronType();
  resetSubsamplingIndices();
}

public NeuronGroup ( final Network net , final List < Neuron > neurons ) { super ( net ) ; neuronList = new ArrayList < Neuron > ( neurons . size ( ) ) ; for ( Neuron neuron : neurons ) { addNeuron ( neuron ) ; } neuronList = new CopyOnWriteArrayList < Neuron > ( neuronList ) ; updateRule = getNeuronType ( ) ; resetSubsamplingIndices ( ) ; }
construct a new neuron group from a list of neurons .
