private void doRgzFill(OptimalModelAlgorithm alg) { if (!doRgz(alg)) { return; } fillAllRtbs(); }
private bool doRgz(OptimalModelAlgorithm alg) { if (!rgz.Initialized) { rtbLog.Text += _ns + "RGZ not inited! Check data!" + _ns; return(false); } rgz.GenerateOptimalModel(alg); rtbLog.Text += alg.ToString() + Environment.NewLine; fillLog(); return(true); }
private void doRgzFill(OptimalModelAlgorithm alg) { if(!doRgz(alg)) return; fillAllRtbs(); }
private bool doRgz(OptimalModelAlgorithm alg) { if (!rgz.Initialized) { rtbLog.Text += _ns + "RGZ not inited! Check data!" + _ns; return false; } rgz.GenerateOptimalModel(alg); rtbLog.Text += alg.ToString() + Environment.NewLine; fillLog(); return true; }