Changeset 3246
- Timestamp:
- 04/01/10 04:33:08 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/BatchRunView.Designer.cs
r3226 r3246 62 62 this.repetitionsLabel = new System.Windows.Forms.Label(); 63 63 this.repetitionsNumericUpDown = new System.Windows.Forms.NumericUpDown(); 64 this.resultsView = new HeuristicLab.Optimization.Views.ResultCollection ListView();64 this.resultsView = new HeuristicLab.Optimization.Views.ResultCollectionView(); 65 65 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); 66 66 this.tabControl.SuspendLayout(); … … 273 273 | System.Windows.Forms.AnchorStyles.Left) 274 274 | System.Windows.Forms.AnchorStyles.Right))); 275 this.resultsView.Caption = "ResultCollection List";275 this.resultsView.Caption = "ResultCollection"; 276 276 this.resultsView.Content = null; 277 277 this.resultsView.Location = new System.Drawing.Point(6, 6); … … 334 334 private System.Windows.Forms.Label repetitionsLabel; 335 335 private System.Windows.Forms.NumericUpDown repetitionsNumericUpDown; 336 private ResultCollection ListView resultsView;336 private ResultCollectionView resultsView; 337 337 338 338 } -
trunk/sources/HeuristicLab.Optimization.Views/3.3/HeuristicLab.Optimization.Views-3.3.csproj
r3226 r3246 98 98 <DependentUpon>BatchRunView.cs</DependentUpon> 99 99 </Compile> 100 <Compile Include="ResultCollectionListView.cs">101 <SubType>UserControl</SubType>102 </Compile>103 <Compile Include="ResultCollectionListView.Designer.cs">104 <DependentUpon>ResultCollectionListView.cs</DependentUpon>105 </Compile>106 100 <Compile Include="UserDefinedAlgorithmView.cs"> 107 101 <SubType>UserControl</SubType> -
trunk/sources/HeuristicLab.Optimization/3.3/BatchRun.cs
r3226 r3246 74 74 75 75 [Storable] 76 private ResultCollection Listresults;77 public ResultCollection ListResults {76 private ResultCollection results; 77 public ResultCollection Results { 78 78 get { return results; } 79 79 } … … 111 111 : base() { 112 112 repetitions = 10; 113 results = new ResultCollection List();113 results = new ResultCollection(); 114 114 executionTime = TimeSpan.Zero; 115 115 } 116 116 public BatchRun(string name) : base(name) { 117 117 repetitions = 10; 118 results = new ResultCollection List();118 results = new ResultCollection(); 119 119 executionTime = TimeSpan.Zero; 120 120 } 121 121 public BatchRun(string name, string description) : base(name, description) { 122 122 repetitions = 10; 123 results = new ResultCollection List();123 results = new ResultCollection(); 124 124 executionTime = TimeSpan.Zero; 125 125 } … … 129 129 clone.Algorithm = (IAlgorithm)cloner.Clone(algorithm); 130 130 clone.repetitions = repetitions; 131 clone.results = (ResultCollection List)cloner.Clone(results);131 clone.results = (ResultCollection)cloner.Clone(results); 132 132 clone.executionTime = executionTime; 133 133 clone.running = running; … … 208 208 209 209 private void Algorithm_Prepared(object sender, EventArgs e) { 210 results.Add( Algorithm.Results);210 results.Add(new Result("Run " + DateTime.Now.ToString(), Algorithm.Results)); 211 211 } 212 212 private void Algorithm_RunningChanged(object sender, EventArgs e) { -
trunk/sources/HeuristicLab.Optimization/3.3/HeuristicLab.Optimization-3.3.csproj
r3232 r3246 87 87 <Compile Include="Algorithm.cs" /> 88 88 <Compile Include="BatchRun.cs" /> 89 <Compile Include="ResultCollectionList.cs" />90 89 <Compile Include="Interfaces\IMultiObjectiveSolutionsVisualizer.cs" /> 91 90 <Compile Include="Interfaces\IResult.cs" />
Note: See TracChangeset
for help on using the changeset viewer.