public void commitChanges(SynapseGroup synapseGroup){
  double percentExcitatory=Utils.doubleParsable(eRatio) / 100;
  if (!Double.isNaN(percentExcitatory))   synapseGroup.setExcitatoryRatio(percentExcitatory);
  excitatoryRandomizerPanel.commitChanges();
  inhibitoryRandomizerPanel.commitChanges();
  synapseGroup.setExcitatoryRandomizer(exRandomizer);
  synapseGroup.setInhibitoryRandomizer(inRandomizer);
}

public void commitChanges ( SynapseGroup synapseGroup ) { double percentExcitatory = Utils . doubleParsable ( eRatio ) / 100 ; if ( ! Double . isNaN ( percentExcitatory ) ) synapseGroup . setExcitatoryRatio ( percentExcitatory ) ; excitatoryRandomizerPanel . commitChanges ( ) ; inhibitoryRandomizerPanel . commitChanges ( ) ; synapseGroup . setExcitatoryRandomizer ( exRandomizer ) ; synapseGroup . setInhibitoryRandomizer ( inRandomizer ) ; }
commits changes to a synapse group .
