etLength ( 0)]; Sum = 0; (int i = 0; i
{(int j = 0; j
{[j] = condition [i, j];
} [i] = proba.Sum ();
} (int j = 0; j
{[j] = help [j]/help.Sum ();
}
// int count = 0;
// while (count
// {
// for (int i = 0; i
// {
// proba [i] = futureProba [count, i];
//}
// proba [count] = proba.Sum ();
// count + +;
//} futureProba;
}
}
{partial class Form1: Form
{double p, c_z, h, loss; int z; cet = new ConechEtap (); frm_z = new FormZakaz (); about = new FormAbout (); [] proba; Form1 ()
{(); _z.Hide ();. Hide ();. Dispose (); _z.Dispose ();
}
///
///
///
///
/// [] Out (int n)
{[] str = new string [n + 1]; e = n; (int i = 0; i
{[i] = "Якщо на складі" + e + "продукції"; -;
} str;
}
///
///Enter to DataGridview version 2
///
///
///
/// Zanesenie_v_DataGrid1 (double [] lst1, double [] lst2, string [] lst3, double [] lst4, string [] lst5)
{. BackgroundColor = Color.LightGray;. ColumnCount = lst1.Length; (int i = 0; i
{. RowCount = lst1.Length;
} (int i = 0; i
{. Rows [i]. Cells [0]. Value = Convert.ToString (lst1 [i]);. Rows [i]. Cells [1]. Value = Convert.ToString (lst2 [i]);. Rows [i]. Cells [3]. Value = Convert.ToString (lst3 [i]);. Rows [i]. Cells [4]. Value = Convert.ToString (lst4 [i]) ;. Rows [i]. Cells [2]. Value = Convert.ToString (lst5 [i]);
}
}
///
///
///
///
// void Zanesenie_Probability_v_DataGrid1 (double [] lst1)
// {
// dataGridView2.Ba...