- Timestamp:
- 03/31/11 03:24:02 (14 years ago)
- Location:
- branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3
- Files:
-
- 27 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3
- Property svn:ignore
-
old new 3 3 *.user 4 4 HeuristicLabClientsOKBPlugin.cs 5 *.vs10x
-
- Property svn:ignore
-
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/CombinedFilterView.Designer.cs
r5606 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/CombinedFilterView.cs
r5611 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/EqualityComparisonBoolFilterView.Designer.cs
r5608 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/EqualityComparisonBoolFilterView.cs
r5608 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/EqualityComparisonFilterView.Designer.cs
r5606 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/EqualityComparisonFilterView.cs
r5606 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/FilterView.Designer.cs
r5606 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/FilterView.cs
r5606 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonDateTimeFilterView.Designer.cs
r5612 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonDateTimeFilterView.cs
r5612 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonDoubleFilterView.Designer.cs
r5608 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonDoubleFilterView.cs
r5608 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonFilterView.Designer.cs
r5606 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonFilterView.cs
r5606 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonFloatFilterView.Designer.cs
r5612 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonFloatFilterView.cs
r5612 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonIntFilterView.Designer.cs
r5612 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonIntFilterView.cs
r5612 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonLongFilterView.Designer.cs
r5606 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/OrdinalComparisonLongFilterView.cs
r5606 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/QueryView.Designer.cs
r5612 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 55 55 this.resultsGroupBox = new System.Windows.Forms.GroupBox(); 56 56 this.includeBinaryValuesCheckBox = new System.Windows.Forms.CheckBox(); 57 this.deserializeBlobsCheckBox = new System.Windows.Forms.CheckBox();58 57 this.resultsInfoPanel = new System.Windows.Forms.Panel(); 59 58 this.abortButton = new System.Windows.Forms.Button(); … … 157 156 | System.Windows.Forms.AnchorStyles.Right))); 158 157 this.resultsGroupBox.Controls.Add(this.includeBinaryValuesCheckBox); 159 this.resultsGroupBox.Controls.Add(this.deserializeBlobsCheckBox);160 158 this.resultsGroupBox.Controls.Add(this.refreshResultsButton); 161 159 this.resultsGroupBox.Controls.Add(this.runCollectionView); … … 172 170 this.includeBinaryValuesCheckBox.Checked = true; 173 171 this.includeBinaryValuesCheckBox.CheckState = System.Windows.Forms.CheckState.Checked; 174 this.includeBinaryValuesCheckBox.Location = new System.Drawing.Point( 74, 24);172 this.includeBinaryValuesCheckBox.Location = new System.Drawing.Point(53, 24); 175 173 this.includeBinaryValuesCheckBox.Name = "includeBinaryValuesCheckBox"; 176 174 this.includeBinaryValuesCheckBox.Size = new System.Drawing.Size(128, 17); … … 178 176 this.includeBinaryValuesCheckBox.Text = "&Include Binary Values"; 179 177 this.includeBinaryValuesCheckBox.UseVisualStyleBackColor = true; 180 //181 // deserializeBlobsCheckBox182 //183 this.deserializeBlobsCheckBox.AutoSize = true;184 this.deserializeBlobsCheckBox.Checked = true;185 this.deserializeBlobsCheckBox.CheckState = System.Windows.Forms.CheckState.Checked;186 this.deserializeBlobsCheckBox.Location = new System.Drawing.Point(225, 24);187 this.deserializeBlobsCheckBox.Name = "deserializeBlobsCheckBox";188 this.deserializeBlobsCheckBox.Size = new System.Drawing.Size(144, 17);189 this.deserializeBlobsCheckBox.TabIndex = 2;190 this.deserializeBlobsCheckBox.Text = "&Deserialize Binary Values";191 this.deserializeBlobsCheckBox.UseVisualStyleBackColor = true;192 178 // 193 179 // resultsInfoPanel … … 291 277 private System.Windows.Forms.GroupBox resultsGroupBox; 292 278 private System.Windows.Forms.Panel filterPanel; 293 private System.Windows.Forms.CheckBox deserializeBlobsCheckBox;294 279 private System.Windows.Forms.Panel resultsInfoPanel; 295 280 private System.Windows.Forms.ProgressBar resultsProgressBar; -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/QueryView.cs
r5674 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 75 75 private void LoadResultsAsync(int batchSize) { 76 76 bool includeBinaryValues = includeBinaryValuesCheckBox.Checked; 77 bool deserialize = deserializeBlobsCheckBox.Checked;78 77 79 78 Cursor = Cursors.AppStarting; … … 100 99 while (ids.Count() > 0) { 101 100 cancellationToken.ThrowIfCancellationRequested(); 102 runs.AddRange(QueryClient.Instance.GetRuns(ids.Take(batchSize), includeBinaryValues).Select(x => ConvertToOptimizationRun(x , deserialize)));101 runs.AddRange(QueryClient.Instance.GetRuns(ids.Take(batchSize), includeBinaryValues).Select(x => ConvertToOptimizationRun(x))); 103 102 ids = ids.Skip(batchSize); 104 103 Invoke(new Action(() => { … … 182 181 } 183 182 184 private Optimization.IRun ConvertToOptimizationRun(Run run , bool deserialize) {183 private Optimization.IRun ConvertToOptimizationRun(Run run) { 185 184 Optimization.Run optRun = new Optimization.Run(); 186 185 foreach (Value value in run.ParameterValues) 187 optRun.Parameters.Add(value.Name, ConvertToItem(value , deserialize));186 optRun.Parameters.Add(value.Name, ConvertToItem(value)); 188 187 foreach (Value value in run.ResultValues) 189 optRun.Results.Add(value.Name, ConvertToItem(value , deserialize));188 optRun.Results.Add(value.Name, ConvertToItem(value)); 190 189 return optRun; 191 190 } 192 191 193 private IItem ConvertToItem(Value value , bool deserialize) {192 private IItem ConvertToItem(Value value) { 194 193 if (value is BinaryValue) { 195 if (deserialize) { 196 IItem item = null; 197 using (MemoryStream stream = new MemoryStream(((BinaryValue)value).Value)) { 194 IItem item = null; 195 BinaryValue binaryValue = (BinaryValue)value; 196 if (binaryValue.Value != null) { 197 using (MemoryStream stream = new MemoryStream(binaryValue.Value)) { 198 198 try { 199 199 item = XmlParser.Deserialize<IItem>(stream); … … 202 202 stream.Close(); 203 203 } 204 return item != null ? item : new Data.StringValue(value.DataType.Name);205 } else {206 return new Data.StringValue(value.DataType.Name);207 204 } 205 return item != null ? item : new Data.StringValue(value.DataType.Name); 208 206 } else if (value is BoolValue) { 209 207 return new Data.BoolValue(((BoolValue)value).Value); -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/StringComparisonAvailableValuesFilterView.Designer.cs
r5611 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/StringComparisonAvailableValuesFilterView.cs
r5611 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/StringComparisonFilterView.Designer.cs
r5611 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/OKB (trunk integration)/HeuristicLab.Clients.OKB/3.3/Query/Views/StringComparisonFilterView.cs
r5608 r5902 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 0Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2011 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab.
Note: See TracChangeset
for help on using the changeset viewer.