예제 #1
0
 public ComputeForm()
 {
     InitializeComponent();
     AsParSol   = this.checkBoxParSol.Checked;
     AsParClu   = this.checkBoxParClu.Checked;
     NSol       = (uint)this.numericUpDown_NSol.Value;
     Verbose    = this.checkBoxVerbose.Checked;
     MaxIterSec = (double)this.numericUpDownMaxIterSec.Value;
     toolTip1.SetToolTip(numericUpDownMaxIterSec, "Set to Zero for infinity computation.");
     SeedVal     = (int)this.numericUpDownSeed.Value;
     ProblemType = PMedLib.eProblemType.SetCovering;
 }
예제 #2
0
 private void radioButtonSP_CheckedChanged(object sender, EventArgs e)
 {
     ProblemType = PMedLib.eProblemType.SetPartitioning;
 }
예제 #3
0
 private void radioButtonSC_CheckedChanged(object sender, EventArgs e)
 {
     ProblemType = PMedLib.eProblemType.SetCovering;
 }