public void removeNeuron(Neuron toDelete){
  neuronList.remove(toDelete);
  if (isEmpty()) {
    delete();
  }
  resetSubsamplingIndices();
}

public void removeNeuron ( Neuron toDelete ) { neuronList . remove ( toDelete ) ; if ( isEmpty ( ) ) { delete ( ) ; } resetSubsamplingIndices ( ) ; }
delete the provided neuron .
