Пример #1
0
 public MergeSort()
 {
     algoParams["Pivot"] = new Model.Parameter("Pivot", "middle", null, "middle", Model.ParameterType.TextBox);
     algoParams["Speed"] = new Model.Parameter("Speed", "fast", new List<Object>() { "fast", "middle", "slow" }, "middle", Model.ParameterType.ComboBox);
     algoParams["greeting"] = new Model.Parameter("greeting", "hi", null, "hi", Model.ParameterType.TextBox);
     algoParams["mac value"] = new Model.Parameter("mac value", 3.4, new List<Object> { 1.0, 2.0, 3.4, 3.6, 4.0, 5.0 }, 5.0, Model.ParameterType.ComboBox);
     algoParams["Param2"] = new Model.Parameter("Param2", true, new List<Object>() { true, false }, true, Model.ParameterType.CheckBox);
 }
Пример #2
0
 public QuickSort()
 {
     algoParams["Param1"] = new Model.Parameter("Param1", 5, new List <Object>()
     {
         1, 2, 3, 4, 5
     }, 3, Model.ParameterType.ComboBox);
     algoParams["Param2"] = new Model.Parameter("Param2", true, new List <Object>()
     {
         true, false
     }, true, Model.ParameterType.CheckBox);
     algoParams["sliderParam"] = new Model.Parameter("sliderParam", 15, new List <Object>()
     {
         10, 20
     }, 10, Model.ParameterType.Slider);
 }
Пример #3
0
 public MergeSort()
 {
     algoParams["Pivot"] = new Model.Parameter("Pivot", "middle", null, "middle", Model.ParameterType.TextBox);
     algoParams["Speed"] = new Model.Parameter("Speed", "fast", new List <Object>()
     {
         "fast", "middle", "slow"
     }, "middle", Model.ParameterType.ComboBox);
     algoParams["greeting"]  = new Model.Parameter("greeting", "hi", null, "hi", Model.ParameterType.TextBox);
     algoParams["mac value"] = new Model.Parameter("mac value", 3.4, new List <Object> {
         1.0, 2.0, 3.4, 3.6, 4.0, 5.0
     }, 5.0, Model.ParameterType.ComboBox);
     algoParams["Param2"] = new Model.Parameter("Param2", true, new List <Object>()
     {
         true, false
     }, true, Model.ParameterType.CheckBox);
 }
Пример #4
0
 public QuickSort()
 {
     algoParams["Param1"] = new Model.Parameter("Param1", 5, new List<Object>() { 1, 2, 3, 4, 5 }, 3, Model.ParameterType.ComboBox);
     algoParams["Param2"] = new Model.Parameter("Param2", true, new List<Object>() { true, false }, true, Model.ParameterType.CheckBox);
     algoParams["sliderParam"] = new Model.Parameter("sliderParam", 15, new List<Object>() { 10, 20 }, 10, Model.ParameterType.Slider);
 }