示例#1
0
文件: Form1.cs 项目: Swipes13/smad
 private void doRgzFill(OptimalModelAlgorithm alg)
 {
     if (!doRgz(alg))
     {
         return;
     }
     fillAllRtbs();
 }
示例#2
0
文件: Form1.cs 项目: Swipes13/smad
 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);
 }
示例#3
0
文件: Form1.cs 项目: Swipes13/smad
 private void doRgzFill(OptimalModelAlgorithm alg)
 {
     if(!doRgz(alg)) return;
       fillAllRtbs();
 }
示例#4
0
文件: Form1.cs 项目: Swipes13/smad
 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;
 }